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
|
e63e0cbf5a
|
Make it enable to take &PyClass as arguments as pyfunctions/methods
|
2020-03-04 13:37:26 +09:00 |
|
kngwyu
|
6307c25b81
|
Remove static mut from make_module
|
2020-03-03 18:46:20 +09:00 |
|
kngwyu
|
ee0c178fed
|
Remove ObjectProtocol::get_base and fix class.md
|
2020-03-02 13:08:37 +09:00 |
|
kngwyu
|
68a3b15943
|
Use PyBorrowFlagLayout to ensure the baseclass has a borrow flag
|
2020-02-23 01:02:14 +09:00 |
|
kngwyu
|
c2a40fbf70
|
Modify CallbackConverter so that it can deal with try_borrow well
|
2020-02-22 20:01:08 +09:00 |
|
Yuji Kanagawa
|
98d810e662
|
Apply suggestions from davidhewitt's review
Co-Authored-By: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
|
2020-02-18 12:51:02 +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 |
|
kngwyu
|
7b3de17d81
|
Run cargo fmt
|
2020-02-10 18:18:44 +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
|
de9698e7a5
|
Changes from PR#760
|
2020-02-09 11:06:44 +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 |
|
kngwyu
|
50de21abb7
|
Use AtomicBool for lazy types
|
2020-02-08 14:03:57 +09:00 |
|
David Hewitt
|
f8c8b8effd
|
Fix for PyObject with #[pyo3(get)]
|
2020-02-07 19:31:13 +00:00 |
|
kngwyu
|
58a0841ff7
|
Rewrite LazyTypeObjects without once_cell
|
2020-02-07 00:10:27 +09:00 |
|
kngwyu
|
f8de335b00
|
Make PyTypeInfo::type_object return &'static instead of NonNull
|
2020-02-06 19:11:59 +09: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
|
04f30c5971
|
Revisions from PR#751
|
2020-02-03 07:34:42 +00:00 |
|
David Hewitt
|
7531b9fb07
|
Remove even more uses of static mut
|
2020-01-30 13:24:55 +00:00 |
|
David Hewitt
|
5cbdef6471
|
Remove static mut from PyTypeInfo implementation
|
2020-01-30 00:14:27 +00:00 |
|
David Hewitt
|
a8ec946fc3
|
Fix usage of raw idents with #[pyo3(set)]
|
2020-01-27 10:29:14 +00:00 |
|
Yuji Kanagawa
|
541816b7d2
|
Merge pull request #730 from davidhewitt/extract-clone
FromPyObject for #[pyclass] with T: Clone
|
2020-01-25 12:42:05 +09:00 |
|
David Hewitt
|
fdf407e045
|
FromPyObject for #[pyclass] with T: Clone
|
2020-01-24 08:57:28 +00:00 |
|
David Hewitt
|
43df3299ab
|
Remove PyNoArgsFunction
|
2020-01-22 16:27:36 +00:00 |
|
kngwyu
|
56f68a55cd
|
Bump version to 0.9.0-alpha.1
|
2020-01-16 20:05:44 +09:00 |
|
Alexander Niederbühl
|
0a84c201f7
|
Revert "Disable segfaulty subclassing by default"
This reverts commit 5096f936dc .
|
2020-01-12 01:22:32 +01:00 |
|
kngwyu
|
451de182cb
|
Merge branch 'master' into pyclass-new-layout
|
2020-01-08 17:16:33 +09:00 |
|
kngwyu
|
f26e07cfd6
|
Replace IntoInitializer<T> with Into<PyClassInitializer<T>>
|
2020-01-07 13:08:41 +09:00 |
|
David Hewitt
|
60edeb889e
|
Simplify IntoInitializer
|
2020-01-06 13:19:58 +00:00 |
|
kngwyu
|
d22b03edde
|
Bump version to 0.8.5
|
2020-01-05 16:39:18 +09:00 |
|
kngwyu
|
18e565fab5
|
New PyClassInitializer
|
2020-01-05 16:01:05 +09:00 |
|
Matthias Lochbrunner
|
ff2aaea334
|
Fixes PyObjectDelAttrProtocol
|
2020-01-01 16:51:40 +01: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
|
881cb0a5a4
|
Fix build failure on minimum nightly
|
2019-12-17 18:08:35 +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
|
d8a4ecb476
|
Bump version to 0.8.4
|
2019-12-14 15:20:55 +09:00 |
|
kngwyu
|
4d7dfafe2b
|
Allow slf: &PyClassShell<Self>
|
2019-12-08 23:09:00 +09:00 |
|