konstin
c77049541a
Fix CI
...
black requires 3.6+ to be installed
2018-11-11 18:13:33 +01:00
konstin
90c3f746d7
Merge pull request #259 from konstin/0.5.0
...
Proposal: Release 0.5.0
2018-11-11 12:27:23 +01:00
konstin
cadd0fb50e
Release 0.5.0
2018-11-11 12:26:43 +01:00
konstin
9f45efebaf
Format
2018-11-11 12:25:53 +01:00
konstin
a9b05711b0
Add test to fix #220
2018-11-11 12:24:24 +01:00
konstin
4c0ddbe61e
Merge pull request #263 from kngwyu/fix-240
...
Fix #240
2018-11-11 11:49:31 +01:00
konstin
ef68b22717
Merge pull request #260 from ijl/nonnull
...
NonNull pointer for Py, PyObject
2018-11-11 11:40:01 +01:00
kngwyu
bd6f923f43
Fix #240
2018-11-09 13:11:47 +09:00
ijl
50c6129607
NonNull pointer for Py, PyObject
2018-11-08 15:09:52 +00:00
Yuji Kanagawa
ecae8544f4
Merge pull request #262 from kngwyu/pganssle-tzinfo_subclass_introspection
...
Skip failing test of #239
2018-11-08 18:34:46 +09:00
kngwyu
9ae2f1f7f5
Skip failing test
2018-11-08 18:13:44 +09:00
konstin
be6d7b2408
Fix #258
2018-11-05 00:29:40 +01:00
konstin
52dfc0013c
Add doc example to PyIterator
2018-11-02 22:59:30 +01:00
konstin
9ffb2c617d
Run rustfmt
2018-11-02 22:59:30 +01:00
konstin
569db5fb02
Add test with generator to PyIterator
2018-11-02 22:59:30 +01:00
konstin
da0d6eeb5d
Small tooling fixes
2018-11-02 22:32:18 +01:00
konstin
234e2c6998
Release 0.5.0-alpha.3 to fix #256
2018-11-02 16:34:40 +01:00
konstin
264f642f19
Better doc comment for PyObject
2018-10-31 11:58:19 +01:00
konstin
8b27f1e412
Get ready for rust 2018
2018-10-31 11:43:21 +01:00
konstin
dbaa2de061
Small improvements around function calling
2018-10-31 11:38:45 +01:00
kngwyu
625a3f6738
Added a test that call call_method with kwargs
2018-10-31 15:23:18 +09:00
kngwyu
607c23d287
kwargs: Option<PyDict> -> Option<&PyDict>
2018-10-31 15:07:28 +09:00
konstin
3b63cc9178
v0.5.0-alpha.2
2018-10-29 17:36:06 +01:00
konstin
13302ea1ca
Merge pull request #253 from senden9/patch-1
...
Fix Typo
2018-10-29 17:27:47 +01:00
konstin
74d9557784
Merge pull request #252 from kngwyu/compile-hack
...
Temporary hack to compile with latest nightly
2018-10-29 17:27:31 +01:00
Stefano Probst
21fe12d048
Fix Typo
...
Fix Typo in README.md
2018-10-29 11:09:29 +01:00
kngwyu
56b82c2f7d
Temporary hack to compile with latest nightly
2018-10-28 18:16:44 +09:00
konstin
d598cf440b
Update README.md
2018-10-26 11:17:30 +02:00
konstin
b90d45d7e7
Better error reporting to fix #246
2018-10-10 19:05:36 +02:00
konstin
38651a1827
Add tox config for pyo3 itself
2018-10-09 18:49:54 +02:00
konstin
4da9110489
Add tox config for word-count
2018-10-09 18:21:52 +02:00
konstin
39fa3dbbb4
Merge branch 'Hanaasagi'
2018-10-09 18:21:09 +02:00
Hanaasagi
3e7a823dee
ignore pyc and pyo
2018-10-09 23:29:11 +09:00
Hanaasagi
92119d195a
remove meaningless __future__.absolute_import
2018-10-09 23:26:28 +09:00
Hanaasagi
eb6e7a2c2a
use pytest directlly instead of python -m pytest
2018-10-09 23:24:36 +09:00
konstin
90dca39f08
Merge pull request #244 from kngwyu/travis-doc
...
Build rust doc on travis
2018-10-05 13:55:47 +02:00
kngwyu
0859392d1c
Fix url from guide to doc
2018-10-04 16:36:30 +09:00
kngwyu
3620aae503
Build rust doc on travis
2018-10-04 16:19:36 +09:00
kngwyu
9ab63f2289
Fix build with --features="num-complex"
2018-10-04 15:47:28 +09:00
konstin
5100676497
Splitted PyTypeCreate of PyTypeObject to remove specialization
2018-10-03 22:12:22 +02:00
konstin
71c584a110
De-specialize ToBorrowedObject
2018-10-03 21:04:49 +02:00
konstin
b5902af548
Merge pull request #242 from ijl/get-type-ptr
...
PyObjectProtocol::get_type_ptr()
2018-10-03 20:30:55 +02:00
ijl
d0f79fb9fd
PyObjectProtocol::get_type_ptr()
2018-10-03 13:10:41 +00:00
konstin
0ec24aa8db
Merge pull request #241 from pganssle/othermod_example
...
Add tests for othermod
2018-10-01 15:01:20 +02:00
Paul Ganssle
7abd436a0d
Add tests for othermod
...
This adds othermod to the rustapi_module extension and tests the
contents of the module.
2018-09-29 10:28:32 -04:00
Paul Ganssle
f847974c06
Add failing test for TzClass introspection
...
Currently accesing `tzi.__class__` causes a segmentation fault
2018-09-28 18:10:50 -04:00
konstin
da906fb715
Merge pull request #238 from ijl/pystring
...
Simplify PyString, PyBytes, PyUnicode
2018-09-29 00:01:15 +02:00
ijl
38c6d942b7
Document UTF-8 FFI assumptions
2018-09-28 22:01:04 +00:00
ijl
851d2207c0
Simplify PyString, PyBytes, PyUnicode
...
PyStringData comments mention wanting to receive interpreter-
specific unicode types. I tried implementing this, but it's
more complex and slower to call libpython to fill a buffer
of u32 or such and convert that in Rust using widestring.
This implementation receives UTF-8 from PyUnicode_AsUTF8AndSize()
in python3 and PyUnicode_AsUTF8String() in python2. PyStringData
is removed as unnecessary.
The data() method on PyString, PyBytes, and PyUnicode is
replaced with as_bytes().
The python2 API changes improve the performance of
extracting unicode strings.
2018-09-28 21:47:44 +00:00
konstin
3a95d163ca
New rustfmt version
...
You might need to upgrade to the latest nightly to get the same results
2018-09-28 23:34:57 +02:00