Yuji Kanagawa
|
e0c1f82b6c
|
Merge pull request #842 from ArniDagur/set_frompyobj
Implement FromPyObject for HashSet and BTreeSet
|
2020-03-30 11:55:59 +09:00 |
|
David Hewitt
|
1efe142566
|
Fix clippy warning
|
2020-03-30 11:48:01 +09:00 |
|
Árni Dagur
|
97aca504a3
|
Implement FromPyObject for HashSet and BTreeSet
|
2020-03-29 20:58:36 -04:00 |
|
kngwyu
|
ac418ce020
|
Inhibit __ipow__ to take Modulo
|
2020-03-30 03:01:44 +09:00 |
|
kngwyu
|
25eda36353
|
Speficy METH_COEXIST for some number methods except
|
2020-03-30 02:02:57 +09:00 |
|
Yuji Kanagawa
|
6bc5207d4f
|
Merge pull request #841 from kngwyu/travis-apt
Change travis dependencies
|
2020-03-29 18:18:28 +09:00 |
|
kngwyu
|
5331fc594c
|
Reduce travis dependencies
|
2020-03-29 17:40:45 +09:00 |
|
Yuji Kanagawa
|
b3566bc7d9
|
Merge pull request #830 from oconnor663/maxsize
use struct.calcsize("P") rather than platform.machine()
|
2020-03-29 16:07:57 +09:00 |
|
Jack O'Connor
|
d2c07a87d2
|
xfail a couple of datetime tests on Python 3.5 + macOS
|
2020-03-29 15:38:42 +09:00 |
|
kngwyu
|
a76bd7c4e3
|
Add a test that shows __add__ overrides __radd__
|
2020-03-29 00:26:11 +09:00 |
|
kngwyu
|
970e393bb9
|
Make __r*__ methods work by slot fallback
|
2020-03-28 18:17:40 +09:00 |
|
kngwyu
|
77b4b9e67d
|
Refactor impl_method_proto
|
2020-03-28 17:19:15 +09:00 |
|
Jack O'Connor
|
9e23476221
|
avoid using platform.architecture() to detect 32-bit-ness in datetime tests
Same reasoning as the previous commit.
|
2020-03-26 14:01:18 -04:00 |
|
Jack O'Connor
|
f3876a90b3
|
use struct.calcsize("P") rather than platform.machine()
platform.machine() gives the wrong answer if you're running 32-bit
Python on a 64-bit machine.
The reason we don't use platform.architecture() here is that it's not
reliable on macOS. See https://stackoverflow.com/a/1405971/823869.
Similarly, sys.maxsize is not reliable on Windows. See
https://stackoverflow.com/questions/1405913/how-do-i-determine-if-my-python-shell-is-executing-in-32bit-or-64bit-mode-on-os/1405971#comment6209952_1405971
and https://stackoverflow.com/a/3411134/823869.
Also use CARGO_CFG_TARGET_POINTER_WIDTH rather than inferring the Rust
target pointer width from CARGO_CFG_TARGET_ARCH.
|
2020-03-26 14:01:14 -04:00 |
|
kngwyu
|
c234476693
|
chmod -x for test files
|
2020-03-27 00:41:01 +09:00 |
|
Yuji Kanagawa
|
d7fe7a92a5
|
Merge pull request #835 from kngwyu/remove-new-no-ptr
Remove GILPool::new-no-pointer
|
2020-03-26 22:19:29 +09:00 |
|
Yuji Kanagawa
|
db543a09b5
|
Merge pull request #836 from PyO3/fix-833
Fix #833
|
2020-03-26 22:18:34 +09:00 |
|
konstin
|
f10378f0cf
|
Fix #833
|
2020-03-26 12:56:26 +01:00 |
|
kngwyu
|
5280a281c9
|
Remove GILPool::new_no_pointer
|
2020-03-26 19:45:32 +09:00 |
|
Yuji Kanagawa
|
139a1e6e6b
|
Use checkout@v2
|
2020-03-25 11:30:33 -04:00 |
|
Jack O'Connor
|
4a0c316b23
|
make test.sh fail if any command fails
|
2020-03-25 11:30:33 -04:00 |
|
Yuji Kanagawa
|
dd240a6f00
|
Merge pull request #831 from PyO3/x86-ci
Enable mac x64 and Win x86 tests on github Actions
|
2020-03-24 16:21:03 +09:00 |
|
kngwyu
|
4796a13b76
|
Enable mac x64 and Win x86 tests on github Actions
|
2020-03-24 15:38:06 +09:00 |
|
Yuji Kanagawa
|
1c1d3c4dd9
|
Merge pull request #829 from PyO3/release-0.9.1
Bump version to 0.9.1
|
2020-03-23 22:26:31 +09:00 |
|
kngwyu
|
4759358acb
|
Bump version to 0.9.1
|
2020-03-23 18:55:24 +09:00 |
|
Yuji Kanagawa
|
3b8af93aea
|
Merge pull request #826 from kngwyu/pyclass-err-improve
More ergonomic error messages for invalid #[pyclass] args
|
2020-03-23 18:51:16 +09:00 |
|
Yuji Kanagawa
|
3b17ab0529
|
Apply suggestions from code review
Co-Authored-By: Georg Brandl <georg@python.org>
|
2020-03-23 13:18:38 +09:00 |
|
Yuji Kanagawa
|
00a277c535
|
Merge pull request #827 from kngwyu/retrieve-frompyobj-for-seq
Retrieve FromPyObject implementation for &PySequence
|
2020-03-22 23:48:13 +09:00 |
|
kngwyu
|
1e39071c04
|
Retrieve FromPyObject implementation for &PySequence
|
2020-03-22 20:00:21 +09:00 |
|
kngwyu
|
9b5ea3f46b
|
More ergonomic error messages for invalid #[pyclass] args
|
2020-03-22 17:13:02 +09:00 |
|
Yuji Kanagawa
|
d43a34986d
|
Merge pull request #812 from PyO3/release-0.9
Bump version to 0.9.0
|
2020-03-19 15:10:45 +09:00 |
|
kngwyu
|
89e5a654ad
|
Bump version to 0.9.0
|
2020-03-19 13:48:00 +09:00 |
|
kngwyu
|
fd739b5879
|
Refactor links in the guide
|
2020-03-19 13:47:37 +09:00 |
|
kngwyu
|
e9b15b83ff
|
Change PyBorrowError and PyBorrowMutError to inherit RuntimeError
|
2020-03-19 13:47:37 +09:00 |
|
Yuji Kanagawa
|
25b594cd47
|
Merge pull request #820 from ijl/more-ffi
More bytes, dict FFI
|
2020-03-19 13:44:40 +09:00 |
|
Yuji Kanagawa
|
5a822bc989
|
Merge pull request #822 from kngwyu/fix-tp-doc
Fix the case where T::DESCRIPTION is not null-terminated
|
2020-03-19 13:11:52 +09:00 |
|
kngwyu
|
9f4ea2b234
|
Fix the case where T::DESCRIPTION is not null-terminated
|
2020-03-19 12:17:06 +09:00 |
|
ijl
|
e58249cf55
|
_PyDict_Next(), _PyDict_Contains(), _PyObject_GetDictPtr()
|
2020-03-18 22:46:51 +00:00 |
|
ijl
|
5e14b39c62
|
_PyBytes_Resize()
|
2020-03-18 22:41:20 +00:00 |
|
Yuji Kanagawa
|
6d16d0bbcf
|
Merge pull request #819 from PyO3/fix-top-page
Fix the 'latest tag' link on pyo3.rs
|
2020-03-18 18:37:38 +09:00 |
|
kngwyu
|
fcc5e609a6
|
Fix the 'latest tag' link on pyo3.rs
|
2020-03-18 17:47:21 +09:00 |
|
Yuji Kanagawa
|
6dc44eb4e2
|
Merge pull request #818 from birkenfeld/guide-fixes
guide: PyObject is also for returning stuff to Python
|
2020-03-18 16:07:05 +09:00 |
|
Georg Brandl
|
73b40b1451
|
guide: PyObject is also for returning stuff to Python
|
2020-03-18 07:00:13 +01:00 |
|
Yuji Kanagawa
|
6998660ca4
|
Merge pull request #816 from kngwyu/expose-pyany
Expose PyAny to lib.rs and prelude
|
2020-03-18 14:27:13 +09:00 |
|
kngwyu
|
02ee7a5afc
|
Expose PyAny to lib.rs and prelude
|
2020-03-18 13:38:18 +09:00 |
|
Yuji Kanagawa
|
da4009507e
|
Merge pull request #813 from birkenfeld/docstrings
docstrings: fixes, also point to the new guide chapter
|
2020-03-18 13:09:04 +09:00 |
|
Georg Brandl
|
e026013321
|
Apply suggestions from code review
Co-Authored-By: Alexander Niederbühl <a.niederbuehl@gmail.com>
|
2020-03-17 20:06:09 +01:00 |
|
Georg Brandl
|
b7d5f9097b
|
Fix tests
Co-Authored-By: Yuji Kanagawa <yuji.kngw.80s.revive@gmail.com>
|
2020-03-17 16:49:48 +01:00 |
|
Georg Brandl
|
77b1ae3137
|
lib: overhaul docstrings
|
2020-03-17 15:16:30 +01:00 |
|
Georg Brandl
|
a7a2ccb5ff
|
Apply suggestions from code review
|
2020-03-17 10:54:51 +01:00 |
|