pyo3/tests
bors[bot] dd6498142f
Merge #3014
3014: feat: add #[pyo3(get, set)] for Cell r=davidhewitt a=AntoineRR

This fixes #2659.
The types for which `#[pyo3(get, set)]` should now work are `Cell`, `Arc` and `Box`.

There is one issue regarding `Box`, the implementation of `FromPyObject` conflicts with another one. I could not find what the issue was, especially since the other implementations for `Arc` and `Cell` work as expected. The related code and test has been commented out for now. Maybe someone could help me fix this issue if I don't figure it out myself? There is also the possibility to remove the implementation for `Box` of course.


Co-authored-by: Antoine Romero-Romero <ant.romero2@orange.fr>
2023-03-10 06:13:28 +00:00
..
not_msrv
ui fix clippy and ui tests for Rust 1.68 2023-03-09 23:41:26 +00:00
common.rs
test_anyhow.rs
test_append_to_inittab.rs
test_arithmetics.rs
test_buffer.rs
test_buffer_protocol.rs send errors in __releasebuffer__ to sys.unraisablehook 2023-01-19 19:10:06 +00:00
test_bytes.rs
test_class_attributes.rs Reduce visibility of CaptureStdErr type to avoid warnings on older toolchains. 2023-02-18 17:11:40 +01:00
test_class_basics.rs
test_class_conversion.rs
test_class_new.rs
test_compile_error.rs
test_datetime.rs
test_default_impls.rs
test_dict_iter.rs
test_enum.rs
test_exceptions.rs Added support for PyErr_WriteUnraisable 2023-01-29 20:01:22 +00:00
test_field_cfg.rs Add test 2022-12-28 23:11:39 +01:00
test_frompyobject.rs
test_gc.rs Add additional unit test for GC traversal 2023-01-26 16:27:54 -08:00
test_getter_setter.rs feat: add #[pyo3(get, set)] for Cell 2023-03-09 23:09:30 +00:00
test_inheritance.rs change PyModule::add_class to return an error if class creation fails 2023-02-14 22:08:35 +00:00
test_macros.rs
test_mapping.rs
test_methods.rs fix non_snake_case lint for #[pyfunction] generated code 2023-02-28 08:44:17 +00:00
test_module.rs
test_multiple_pymethods.rs
test_not_msrv.rs
test_pep_587.rs
test_proto_methods.rs
test_pyfunction.rs deprecate required arguments after option arguments without signature 2023-01-15 10:17:20 +00:00
test_pyself.rs
test_sequence.rs
test_serde.rs
test_string.rs
test_super.rs
test_text_signature.rs deprecate required arguments after option arguments without signature 2023-01-15 10:17:20 +00:00
test_unsendable_dict.rs
test_variable_arguments.rs
test_variable_arguments_deprecated.rs
test_various.rs
test_wrap_pyfunction_deduction.rs