pyo3/tests/ui
David Hewitt ec6d587218
support `Bound` for `classmethod` and `pass_module` (#3831)
* support `Bound` for `classmethod` and `pass_module`

* `from_ref_to_ptr` -> `ref_from_ptr`

* add detailed docs to `ref_from_ptr`
2024-02-16 00:36:11 +00:00
..
abi3_nativetype_inheritance.rs Assorted updates to the abi3 branch from review 2020-10-11 19:51:27 -04:00
abi3_nativetype_inheritance.stderr ci: updates for Rust 1.75 2023-12-29 13:36:46 +00:00
deprecations.rs remove all functionality deprecated in 0.19 2023-11-27 22:02:19 +00:00
deprecations.stderr remove all functionality deprecated in 0.19 2023-11-27 22:02:19 +00:00
get_set_all.rs Implement get/set all on pyclass 2022-10-17 02:37:43 +02:00
get_set_all.stderr Create better error spans/messages 2022-10-18 21:14:22 +02:00
invalid_argument_attributes.rs feat: add `coroutine::CancelHandle` 2023-12-04 07:46:51 +01:00
invalid_argument_attributes.stderr implement `PyFunctionArgument` for `&Bound<T>` 2024-02-01 13:22:53 +00:00
invalid_closure.rs PyCFunction bound api 2024-02-06 18:44:53 +01:00
invalid_closure.stderr PyCFunction bound api 2024-02-06 18:44:53 +01:00
invalid_frompy_derive.rs test: improve cov 2023-04-27 12:44:38 +08:00
invalid_frompy_derive.stderr test: improve cov 2023-04-27 12:44:38 +08:00
invalid_frozen_pyclass_borrow.rs improve error span for mutable access to `#[pyclass(frozen)]` 2023-07-11 22:34:53 +01:00
invalid_frozen_pyclass_borrow.stderr ci: updates for rust 1.71 2023-07-14 12:10:37 +01:00
invalid_intern_arg.rs port `Python::import` to `Bound` API (#3832) 2024-02-14 00:24:37 +00:00
invalid_intern_arg.stderr port `Python::import` to `Bound` API (#3832) 2024-02-14 00:24:37 +00:00
invalid_property_args.rs Add more lints 2022-03-23 08:07:28 +01:00
invalid_property_args.stderr fix: change to from_item_all 2023-04-26 19:47:07 +08:00
invalid_proto_pymethods.rs support ordering magic methods for `#[pyclass]` 2023-06-04 13:58:18 +01:00
invalid_proto_pymethods.stderr support ordering magic methods for `#[pyclass]` 2023-06-04 13:58:18 +01:00
invalid_pyclass_args.rs Make rename_all accept a renaming rule, allow applying it to classes as well 2023-08-15 10:15:48 +02:00
invalid_pyclass_args.stderr remove all functionality deprecated in 0.19 2023-11-27 22:02:19 +00:00
invalid_pyclass_enum.rs feat: support pyclass on complex enums 2024-01-18 22:04:42 +09:00
invalid_pyclass_enum.stderr feat: support pyclass on complex enums 2024-01-18 22:04:42 +09:00
invalid_pyclass_item.rs Refactor #[pyclass] and now it supports enum. 2021-11-21 20:05:53 +08:00
invalid_pyclass_item.stderr Refactor #[pyclass] and now it supports enum. 2021-11-21 20:05:53 +08:00
invalid_pyfunction_signatures.rs add better error message for Python in signature 2023-02-03 06:57:30 +00:00
invalid_pyfunction_signatures.stderr remove all functionality deprecated in PyO3 0.18 2023-06-13 22:27:43 +01:00
invalid_pyfunctions.rs improve error for invalid `#[classmethod]` receivers 2023-11-24 03:24:46 +00:00
invalid_pyfunctions.stderr support `Bound` for `classmethod` and `pass_module` (#3831) 2024-02-16 00:36:11 +00:00
invalid_pymethod_enum.rs feat: support pyclass on complex enums 2024-01-18 22:04:42 +09:00
invalid_pymethod_enum.stderr feat: support pyclass on complex enums 2024-01-18 22:04:42 +09:00
invalid_pymethod_names.rs error on passing arguments to `#[new]` and similar attributes 2023-10-08 21:31:59 +01:00
invalid_pymethod_names.stderr error on passing arguments to `#[new]` and similar attributes 2023-10-08 21:31:59 +01:00
invalid_pymethod_receiver.rs Add more lints 2022-03-23 08:07:28 +01:00
invalid_pymethod_receiver.stderr ci: updates for Rust 1.72 2023-08-25 12:30:34 +01:00
invalid_pymethods.rs improve error for invalid `#[classmethod]` receivers 2023-11-24 03:24:46 +00:00
invalid_pymethods.stderr support `Bound` for `classmethod` and `pass_module` (#3831) 2024-02-16 00:36:11 +00:00
invalid_pymethods_buffer.rs pymethods: support buffer protocol 2021-12-30 15:48:55 +00:00
invalid_pymethods_buffer.stderr pymethods: support buffer protocol 2021-12-30 15:48:55 +00:00
invalid_pymethods_duplicates.rs improve error for invalid `#[classmethod]` receivers 2023-11-24 03:24:46 +00:00
invalid_pymethods_duplicates.stderr improve error for invalid `#[classmethod]` receivers 2023-11-24 03:24:46 +00:00
invalid_pymodule_args.rs Add more lints 2022-03-23 08:07:28 +01:00
invalid_pymodule_args.stderr deprecations: remove items deprecated in PyO3 0.14 2021-11-19 16:33:29 +00:00
invalid_result_conversion.rs Deprecate acquire_gil 2022-08-15 03:34:47 +02:00
invalid_result_conversion.stderr update `test_compile_error` ui test output 2024-01-27 12:37:26 +01:00
missing_intopy.rs Fix IntoPyCallbackOutput paper cuts (#2326) 2022-05-09 18:15:43 +01:00
missing_intopy.stderr ci: updates for Rust 1.72 2023-08-25 12:30:34 +01:00
not_send.rs Add more lints 2022-03-23 08:07:28 +01:00
not_send.stderr ci: updates for rust 1.76 2024-02-08 21:13:58 +00:00
not_send2.rs add `PyString::new_bound` 2024-01-29 13:14:00 +00:00
not_send2.stderr ci: updates for rust 1.76 2024-02-08 21:13:58 +00:00
pyclass_send.rs remove `Python::acquire_gil` 2023-05-09 09:39:23 +02:00
pyclass_send.stderr ci: updates for Rust 1.75 2023-12-29 13:36:46 +00:00
reject_generics.rs pyclass: better error and explanation why lifetimes are disallowed (#2633) 2022-09-22 11:14:06 +02:00
reject_generics.stderr fix: change to from_item_all 2023-04-26 19:47:07 +08:00
static_ref.rs Require Send for #[pyclass] 2020-06-08 02:06:15 +01:00
static_ref.stderr introduce trampolines for methods (#2705) 2022-10-25 07:22:36 +01:00
traverse.rs Give a better error message for Python in traverse 2023-06-19 23:25:51 +02:00
traverse.stderr ci: updates for rust 1.76 2024-02-08 21:13:58 +00:00
wrong_aspyref_lifetimes.rs deprecate `PyDict::new` constructor (#3823) 2024-02-11 23:55:56 +00:00
wrong_aspyref_lifetimes.stderr deprecate `PyDict::new` constructor (#3823) 2024-02-11 23:55:56 +00:00