kngwyu
|
9bc41923be
|
More documents for AsPyRef and PyRef
|
2020-02-25 19:56:58 +09:00 |
|
kngwyu
|
68a3b15943
|
Use PyBorrowFlagLayout to ensure the baseclass has a borrow flag
|
2020-02-23 01:02:14 +09:00 |
|
kngwyu
|
8f8b42591a
|
Fix PySelf and AsPyRef
|
2020-02-16 23:54:55 +09:00 |
|
kngwyu
|
da4ed398bb
|
Fix PyCell to share BorrowFlag with parents
|
2020-02-15 18:13:39 +09:00 |
|
kngwyu
|
4a5f219cc4
|
New AsPyRef
|
2020-02-11 18:50:50 +09:00 |
|
kngwyu
|
5d4e7374e9
|
Introduce PyDownCastImpl and Change PyTryFrom and FromPyPointer
|
2020-02-09 16:35:52 +09:00 |
|
kngwyu
|
a2408cacbb
|
Rename PyClassShell with PyCell
|
2020-02-08 15:05:13 +09:00 |
|
kngwyu
|
b88fe39ed6
|
Implement From<&PyNativeType> for Py
|
2020-02-02 15:28:44 +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
|
18e565fab5
|
New PyClassInitializer
|
2020-01-05 16:01:05 +09:00 |
|
kngwyu
|
6b84401126
|
Make it enable to safely inherit native types
|
2019-12-21 23:28:55 +09: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
|
bdb66afe0a
|
Make PyClassShell have dict&weakref
|
2019-12-08 17:18:25 +09:00 |
|
kngwyu
|
4b5fa7e977
|
Introduce PyClass trait and PyClassShell
|
2019-12-07 17:56:49 +09:00 |
|
kngwyu
|
7977fe68e2
|
Use Unsendable alias instead of Phantomdata<Rc<()>>
|
2019-10-27 23:12:59 +09:00 |
|
Martin Larralde
|
5397a62f48
|
Fix broken specialized implementations with Rust 1.40
|
2019-10-07 16:01:15 +02:00 |
|
konstin
|
30e82a3018
|
Replace IntoPyObject with IntoPy<PyObject>
|
2019-08-24 19:23:28 +02:00 |
|
kngwyu
|
5ab216dfe0
|
Implement IntoPyObject to PyRef
|
2019-08-11 18:43:50 +09:00 |
|
kngwyu
|
5a2b021fda
|
Remove FromPyObject from PyRef
It's invalid
|
2019-04-23 23:16:09 +09:00 |
|
kngwyu
|
b2e01066f0
|
Introduce FromPyPointer for slf: PyRef/PyRefMut
|
2019-04-23 23:16:09 +09:00 |
|
kngwyu
|
515c7beac0
|
Allow slf: Py<Self>/PyRef<Self>/PyRefMut<Self> in pymethods
|
2019-04-23 23:16:08 +09:00 |
|
konstin
|
20481e8324
|
Whitelist clippy error
|
2019-03-24 17:33:08 +01:00 |
|
kngwyu
|
f3fe0dfdd5
|
Move From<PyRef> impl to any.rs
|
2019-03-04 21:49:43 +09:00 |
|
kngwyu
|
874d8a0835
|
Rename PyObjectRef with PyAny
|
2019-03-04 13:50:43 +09:00 |
|
konstin
|
dcce57f4f9
|
Merge pull request #369 from kngwyu/hide-nativetype
Make PyNativeType unsafe
|
2019-02-26 23:53:12 +01:00 |
|
kngwyu
|
498689423e
|
Make PyNativeType unsafe
|
2019-02-25 23:15:13 +09:00 |
|
kngwyu
|
86d239e445
|
Rename ToPyPointer with AsPyPointer
|
2019-02-24 16:20:04 +09:00 |
|
konstin
|
ad590bd158
|
Some api improvements
|
2019-02-23 18:01:22 +01:00 |
|
kngwyu
|
8d9b4dd153
|
Introduce PyDictItem
|
2019-02-18 16:06:37 +09:00 |
|
konstin
|
6cb098ee12
|
Replace py.init_[ref|mut] with Py[Ref|Mut]::new
|
2019-02-13 21:52:21 +01:00 |
|
konstin
|
1a489d2829
|
Make the init methods use a value instead of a function
|
2019-02-13 13:59:47 +01:00 |
|
kngwyu
|
4a552a88cf
|
Py::new_ref -> PyRef::new
|
2019-02-08 23:51:14 +09:00 |
|
kngwyu
|
c80134fbcd
|
Refactor PyRef/PyRefMut based on reviews
|
2019-02-08 13:58:44 +09:00 |
|
kngwyu
|
1d3dd2c343
|
Write documents of PyRef/PyRefMut
|
2019-02-07 15:17:27 +09:00 |
|
kngwyu
|
01fc1405b0
|
Modify AsPyRef::as_ref to return PyRef
|
2019-02-07 14:27:13 +09:00 |
|
kngwyu
|
22687c3712
|
Modify PyIterProtocol to take PyRefMut
|
2019-02-05 17:27:34 +09:00 |
|
kngwyu
|
76e30b5248
|
Remove ToPyPointer and so on from pyclass
|
2019-02-04 00:34:06 +09:00 |
|
konstin
|
936f0153e8
|
Migrate to rust 2018
|
2019-02-01 14:23:29 +01:00 |
|
konstin
|
3614f38154
|
Remove some transmute
|
2018-11-12 21:38:20 +01:00 |
|
konstin
|
d1de3338d1
|
Refactor PyObjectAlloc
|
2018-11-12 16:45:57 +01:00 |
|
konstin
|
6cec1c39cc
|
Update changelog
|
2018-11-12 15:11:03 +01:00 |
|
konstin
|
aed0466915
|
s/PyObjectWithToken/PyObjectWithGIL/g
|
2018-11-12 15:10:53 +01:00 |
|
konstin
|
57afb51604
|
Remove PyToken completely; Fixes #94
|
2018-11-12 14:42:21 +01:00 |
|
konstin
|
9f45efebaf
|
Format
|
2018-11-11 12:25:53 +01:00 |
|
ijl
|
50c6129607
|
NonNull pointer for Py, PyObject
|
2018-11-08 15:09:52 +00: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 |
|
konstin
|
5100676497
|
Splitted PyTypeCreate of PyTypeObject to remove specialization
|
2018-10-03 22:12:22 +02:00 |
|