Georg Brandl
|
2979fb8268
|
tests: fix new clippy warning (does not like Foo::foo)
|
2021-08-23 15:47:09 +02:00 |
David Hewitt
|
4d46abde73
|
macros: support `#[pyo3(name = "...")]`
|
2021-05-07 22:35:52 +01:00 |
Alex Gaynor
|
400462063d
|
Proof of concept of using PEP384s PyType_Spec
|
2020-09-02 16:54:39 -04:00 |
David Hewitt
|
4ed9748b45
|
Rename exceptions to PyException etc; reintroduce deprecated ones
|
2020-07-18 06:02:57 +01:00 |
scalexm
|
f49478619f
|
Re-enable recursive class attributes
Use some kind of two-stage initialization as described in #975, by
being very cautious about when to allow the GIL to be released.
|
2020-06-23 22:40:29 +02:00 |
David Hewitt
|
a1dbfa8c8c
|
Add pyo3::once_cell::GILOnceCell
|
2020-06-18 18:53:32 +01:00 |
scalexm
|
f6ac9a0212
|
Allow `#[classattr]` on associated constants
|
2020-05-08 22:30:49 +02: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 |