kngwyu
|
1e39071c04
|
Retrieve FromPyObject implementation for &PySequence
|
2020-03-22 20:00:21 +09:00 |
|
kngwyu
|
02ee7a5afc
|
Expose PyAny to lib.rs and prelude
|
2020-03-18 13:38:18 +09:00 |
|
kngwyu
|
40077245ea
|
Fix PyModule::dict
|
2020-03-16 15:45:54 +09:00 |
|
kngwyu
|
cea707dd1c
|
Inhibit positional args after *
|
2020-03-06 14:01:27 +09:00 |
|
kngwyu
|
25069baef4
|
Fix the interpretation of '*'
|
2020-03-04 23:48:46 +09:00 |
|
kngwyu
|
96115eaaaa
|
Refactor some tests in test_methods
|
2020-03-04 20:35:46 +09:00 |
|
kngwyu
|
bbe4393b1e
|
Add more tests in method_with_pyclassarg
|
2020-03-04 20:25:30 +09:00 |
|
kngwyu
|
e63e0cbf5a
|
Make it enable to take &PyClass as arguments as pyfunctions/methods
|
2020-03-04 13:37:26 +09:00 |
|
kngwyu
|
6c652dff8c
|
Merge branch 'master' into pycell
|
2020-02-25 20:15:17 +09:00 |
|
kngwyu
|
18957159f4
|
Add tests for inheriting class with dict or weakref
|
2020-02-25 20:02:27 +09:00 |
|
kngwyu
|
3d0ee2a28d
|
Use AsRef/AsMut instead of as_super/as_super_mut
|
2020-02-21 20:37:35 +09:00 |
|
Andrew Whitehead
|
ca6cb99a4b
|
Implement buffer release for PyBufferProtocol; change callback signatures to pass PyClassShell
Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
|
2020-02-20 12:48:22 -08:00 |
|
kngwyu
|
1f5cb83ef8
|
Add tests for mutability checking
|
2020-02-18 15:28:04 +09:00 |
|
kngwyu
|
4b746af11b
|
Rename unchecked_refmut -> unchecked_mut
|
2020-02-18 12:55:06 +09:00 |
|
kngwyu
|
2fd2185052
|
Merge branch 'master' into pycell
|
2020-02-17 00:07:15 +09:00 |
|
kngwyu
|
8f8b42591a
|
Fix PySelf and AsPyRef
|
2020-02-16 23:54:55 +09:00 |
|
David Hewitt
|
d5509424b2
|
Make #[pymethods] aware of #[cfg]
|
2020-02-15 14:07:48 +00:00 |
|
kngwyu
|
da4ed398bb
|
Fix PyCell to share BorrowFlag with parents
|
2020-02-15 18:13:39 +09:00 |
|
Yuji Kanagawa
|
0eb4eb4e58
|
Merge branch 'master' into property-fixes
|
2020-02-10 15:13:19 +09:00 |
|
kngwyu
|
a6fed34e23
|
Fix clippy warnings in build.rs and tests
|
2020-02-10 14:53:13 +09:00 |
|
David Hewitt
|
6c25f6aacc
|
Bump minimum Rust version to 1.42.0-nightly
|
2020-02-09 10:54:00 +00:00 |
|
David Hewitt
|
cea8a9a2b0
|
Refactor to clean up property descriptor macros
|
2020-02-08 18:57:30 +00:00 |
|
kngwyu
|
a2408cacbb
|
Rename PyClassShell with PyCell
|
2020-02-08 15:05:13 +09:00 |
|
David Hewitt
|
f8c8b8effd
|
Fix for PyObject with #[pyo3(get)]
|
2020-02-07 19:31:13 +00:00 |
|
Yuji Kanagawa
|
14980d742d
|
Merge pull request #755 from davidhewitt/property-doc
Fix docstrings generated by `[pyo3(get, set)]`
|
2020-02-03 18:14:54 +09:00 |
|
David Hewitt
|
dfb7d7c58d
|
Fix docstrings generated by [pyo3(get, set)]
|
2020-02-03 08:01:30 +00:00 |
|
David Hewitt
|
7531b9fb07
|
Remove even more uses of static mut
|
2020-01-30 13:24:55 +00:00 |
|
David Hewitt
|
a8ec946fc3
|
Fix usage of raw idents with #[pyo3(set)]
|
2020-01-27 10:29:14 +00:00 |
|
Yuji Kanagawa
|
c57e5f1830
|
Merge pull request #744 from Hywan/patch-2
test: Fix a typo in an error message
|
2020-01-25 12:42:49 +09:00 |
|
David Hewitt
|
fdf407e045
|
FromPyObject for #[pyclass] with T: Clone
|
2020-01-24 08:57:28 +00:00 |
|
Ivan Enderlin
|
8ed2662251
|
test: Fix a typo in an error message
Thank for the awesome project!
|
2020-01-24 08:44:23 +01:00 |
|
Alexander Niederbühl
|
cffefa4fa8
|
Add debug output for flaky test
|
2020-01-12 15:44:42 +01:00 |
|
Alexander Niederbühl
|
0a84c201f7
|
Revert "Disable segfaulty subclassing by default"
This reverts commit 5096f936dc .
|
2020-01-12 01:22:32 +01:00 |
|
kngwyu
|
302b3bb088
|
Merge branch 'master' into pyclass-new-layout
|
2020-01-11 15:03:25 +09:00 |
|
Alexander Niederbühl
|
1f675dcaa7
|
Clear error indicator when the exception is handled on the Rust side
Leaving Python's global exception state is misleading, e.g. subsequent
calls of `py.eval` will fail.
|
2020-01-11 00:44:11 +01:00 |
|
kngwyu
|
c57177a169
|
Refine tests and documents around pyclass.rs
|
2020-01-08 22:44:50 +09:00 |
|
kngwyu
|
b602b4bf6c
|
Enhance documentation and tests around #[new]
|
2020-01-07 12:49:36 +09:00 |
|
kngwyu
|
18e565fab5
|
New PyClassInitializer
|
2020-01-05 16:01:05 +09:00 |
|
kngwyu
|
58590393c5
|
Fix accidently changed file permission
|
2019-12-24 12:27:22 +09:00 |
|
kngwyu
|
ea51756933
|
Resolve some clippy complains
|
2019-12-23 18:05:06 +09:00 |
|
kngwyu
|
e2dc843de5
|
Fix a corner case for PyClassInitializer
|
2019-12-22 23:54:41 +09:00 |
|
kngwyu
|
6b84401126
|
Make it enable to safely inherit native types
|
2019-12-21 23:28:55 +09:00 |
|
kngwyu
|
8175d6f36a
|
Merge branch 'master' into pyclass-new-layout
|
2019-12-19 16:12:45 +09:00 |
|
David Hewitt
|
b245e71c14
|
Address comments from PR#692
|
2019-12-18 14:26:25 +00:00 |
|
David Hewitt
|
0032508c3c
|
Format code
|
2019-12-17 22:58:34 +00:00 |
|
David Hewitt
|
4b18830f1e
|
Add #[name] attribute support for #[pyfunction]
|
2019-12-17 22:14:28 +00:00 |
|
David Hewitt
|
7702395b3d
|
Add #[name = "foo"] attribute to #[pymethods]
|
2019-12-17 17:45:53 +00:00 |
|
kngwyu
|
b86de9376d
|
Introduce PyClassInitializer
|
2019-12-15 21:04:36 +09:00 |
|
kngwyu
|
a6639076b9
|
Introduce PyInternalCaster
|
2019-12-14 23:16:39 +09:00 |
|
kngwyu
|
4b5fa7e977
|
Introduce PyClass trait and PyClassShell
|
2019-12-07 17:56:49 +09:00 |
|