Icxolu
|
af21a9dc74
|
add `Bound` constructor for `PyBool`
|
2024-02-03 12:06:50 +01:00 |
David Hewitt
|
7d486bb72a
|
tests/common.rs -> src/tests/common.rs
|
2023-09-24 13:34:53 +01:00 |
DataTriny
|
6c70db1e0b
|
Test renaming rules
|
2023-08-16 18:24:19 +02:00 |
DataTriny
|
f02fe9478d
|
Make rename_all accept a renaming rule, allow applying it to classes as well
|
2023-08-15 10:15:48 +02:00 |
Adam Reichold
|
b49e401319
|
Remove unmatched cfg and unused rustup component.
|
2023-06-05 09:36:13 +02:00 |
David Hewitt
|
1bbd556718
|
run cargo check instead of clippy for MSRV in CI
|
2023-06-04 23:15:59 +01:00 |
Adam Reichold
|
577570e8c4
|
Reduce visibility of CaptureStdErr type to avoid warnings on older toolchains.
|
2023-02-18 17:11:40 +01:00 |
David Hewitt
|
c7cc48f8e4
|
use PyO3 types within LazyTypeObject
|
2023-02-18 09:06:36 +00:00 |
David Hewitt
|
00ddd21535
|
change PyModule::add_class to return an error if class creation fails
|
2023-02-14 22:08:35 +00:00 |
mejrs
|
984fdf57c7
|
Use Python:;with_gil in tests
|
2022-07-19 19:34:23 +02:00 |
Ivan Krivosheev
|
f19561c745
|
Allow #[classattr] take Python argument
|
2022-06-16 13:08:53 +03:00 |
David Hewitt
|
0de0e3f8d6
|
Allow `#[classattr]` methods to be fallible
|
2022-05-17 21:19:41 +01:00 |
David Hewitt
|
6433d884fc
|
dev: remove self dev dependency
|
2021-12-08 07:48:58 +00:00 |
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 |