kngwyu
|
a63e426f6f
|
Some doc and test cleanups mainly around specialization
|
2020-06-20 12:59:56 +09:00 |
|
kngwyu
|
a840ebbb5a
|
Support Rust 1.39.0
|
2020-06-18 19:59:40 +09:00 |
|
kngwyu
|
654ab4c819
|
Enable tests for --features nighly on travis
|
2020-06-18 18:16:01 +09:00 |
|
kngwyu
|
0f709d6edc
|
Use paste instead of nightly concat_idents in datetime tests
|
2020-06-18 18:15:36 +09:00 |
|
konstin
|
6798fe9da7
|
Fix tests on stable
|
2020-06-18 17:23:49 +09:00 |
|
konstin
|
3180e5cc06
|
POC stable rust (2 tests failing)
|
2020-06-18 17:21:09 +09:00 |
|
Yuji Kanagawa
|
a044f3c322
|
Merge branch 'master' into slot-provider
|
2020-06-18 15:49:56 +09:00 |
|
kngwyu
|
1207c2d03a
|
Make test_await more robust
|
2020-06-18 01:58:01 +09:00 |
|
kngwyu
|
2e1ed2c3c8
|
Descr get/set now take receiver
|
2020-06-15 13:43:46 +09:00 |
|
David Hewitt
|
a85d157111
|
Cleanups to ensure GIL-safety of Py<T> and PyObject methods
|
2020-06-14 16:37:34 +01:00 |
|
kngwyu
|
8c4162dfeb
|
Async methods now takes Receiver
|
2020-06-14 22:43:07 +09:00 |
|
kngwyu
|
f32277163a
|
Move nb_bool under PyObjectProtocol again
|
2020-06-13 15:25:04 +09:00 |
|
kngwyu
|
7967874177
|
Remove specialization from basic/buffer/descr/iter protocols
|
2020-06-13 15:24:56 +09:00 |
|
David
|
33617bfffc
|
Require Send for #[pyclass]
|
2020-06-08 02:06:15 +01:00 |
|
Yuji Kanagawa
|
d674b5ff34
|
Merge pull request #952 from kngwyu/typed-pybuffer
Typed PyBuffer
|
2020-06-05 23:08:07 +09:00 |
|
Alexander Niederbühl
|
bcf48c0bd2
|
Fix clippy lints
|
2020-06-05 13:53:01 +02:00 |
|
Yuji Kanagawa
|
5939362e72
|
Fix docs and comments based on the review
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
|
2020-06-05 17:48:43 +09:00 |
|
kngwyu
|
688021315e
|
Typed PyBuffer
|
2020-06-04 22:03:53 +09:00 |
|
David Hewitt
|
29c93c87c7
|
Remove GetPropertyValue
|
2020-05-21 18:06:24 +01:00 |
|
Yuji Kanagawa
|
7fd35b2fb6
|
Merge pull request #937 from davidhewitt/doc-conversion-table
Add conversion table to guide
|
2020-05-21 16:18:46 +09:00 |
|
David Hewitt
|
2813d2e6c9
|
Add conversion table to guide
|
2020-05-19 22:22:38 +01:00 |
|
David Hewitt
|
5c5527dfec
|
Fix passing explicit None to pyfunction with default
|
2020-05-17 19:19:33 +01:00 |
|
kngwyu
|
69dba08b01
|
Use PyMethodsImpl instead of *ProtocolImpl::methods
|
2020-05-11 20:08:21 +09:00 |
|
scalexm
|
f6ac9a0212
|
Allow #[classattr] on associated constants
|
2020-05-08 22:30:49 +02:00 |
|
Yuji Kanagawa
|
d5eb8f0544
|
Merge pull request #911 from davidhewitt/remove-objectprotocol
Remove ObjectProtocol
|
2020-05-08 18:56:52 +09:00 |
|
David Hewitt
|
a5ebef4b2e
|
Remove ObjectProtocol; Add methods to PyAny and use Deref
|
2020-05-08 10:05:19 +01:00 |
|
scalexm
|
d3d68eafb4
|
Add a test with class attrs returning PyClass instances
|
2020-05-07 21:25:27 +02:00 |
|
scalexm
|
8f22d10a14
|
Add a test showing that class attrs are immutable
|
2020-05-07 21:24:36 +02:00 |
|
scalexm
|
7b5a076680
|
Add #[classattr] methods to define Python class attributes
|
2020-05-07 21:23:47 +02:00 |
|
David Hewitt
|
9a2d908342
|
Simplify callback code using callback_body! macro
|
2020-05-05 00:27:50 +01:00 |
|
David Hewitt
|
dfbe22bb56
|
Thread-safe release pools
|
2020-05-02 13:16:22 +01:00 |
|
David Hewitt
|
3008528fa6
|
Allow use of #[pyo3(get, set)] with Py<T>
|
2020-04-22 22:21:27 +01:00 |
|
Mara Bos
|
dcab478d66
|
Fix lifetime safety bug of AsPyRef::as_ref(). (#876)
* Fix lifetime safety bug of AsPyRef::as_ref().
Fixes #875.
* Add test for AsPyRef's lifetimes.
|
2020-04-20 18:44:31 +01:00 |
|
Martin Larralde
|
ed63902eeb
|
Modify existing PyIteratorProtocol tests to use PyRef where possible
|
2020-04-18 03:57:17 +02:00 |
|
Yuji Kanagawa
|
ae81865232
|
Apply suggestions from David
Co-Authored-By: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
|
2020-04-13 11:05:48 +09:00 |
|
kngwyu
|
2cd466dc46
|
Bound 'py lifetime by GILPool when it's possible
|
2020-04-12 23:55:23 +09:00 |
|
Yuji Kanagawa
|
5e285fda78
|
Fix synchronization of datetime tests (#867)
* Fix synchronization of datetime tests
* Use Mutex instead of RawMutex
|
2020-04-11 19:10:16 +09:00 |
|
kngwyu
|
9dc3f9dc1a
|
Lock other threads before import datetime to avoid test failure
|
2020-04-09 22:11:03 +09:00 |
|
Martin Larralde
|
1e8e6fd827
|
Fix clippy warning about unused arguments in tests/test_gc.rs
|
2020-04-09 02:06:19 +02:00 |
|
Martin Larralde
|
5f2ec47bea
|
Add proper test for GC double borrow issue in tp_traverse wrapper
|
2020-04-09 00:52:49 +02:00 |
|
kngwyu
|
8d1678e28e
|
Separate examples and tooling section in README and the guide
|
2020-04-02 23:56:19 +09:00 |
|
David Hewitt
|
1efe142566
|
Fix clippy warning
|
2020-03-30 11:48:01 +09: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 |
|
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
|
c234476693
|
chmod -x for test files
|
2020-03-27 00:41:01 +09:00 |
|
kngwyu
|
5280a281c9
|
Remove GILPool::new_no_pointer
|
2020-03-26 19:45:32 +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 |
|