pyo3/tests/ui
Icxolu aef0a05719
deprecate implicit default for trailing optional arguments (#4078)
* deprecate "trailing optional arguments" implicit default behaviour

* add newsfragment

* generate individual deprecation messages per function

* add migration guide entry
2024-05-10 10:34:58 +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.78 (#4150) 2024-05-03 07:42:30 +00:00
deprecations.rs deprecate implicit default for trailing optional arguments (#4078) 2024-05-10 10:34:58 +00:00
deprecations.stderr deprecate implicit default for trailing optional arguments (#4078) 2024-05-10 10:34:58 +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 ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00:00
invalid_argument_attributes.stderr ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00:00
invalid_cancel_handle.rs Refactoring of `FnArg` (#4033) 2024-04-14 14:19:57 +00:00
invalid_cancel_handle.stderr ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00:00
invalid_closure.rs Update new_closure_bound closure signature (#3883) 2024-02-23 14:07:54 +00:00
invalid_closure.stderr Update new_closure_bound closure signature (#3883) 2024-02-23 14:07:54 +00: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 deprecate the use of `PyCell` in favor of `Bound` and `Py` (#3916) 2024-03-03 14:47:25 +00:00
invalid_frozen_pyclass_borrow.stderr deprecate GIL refs in function argument (#3847) 2024-03-20 22:35:08 +00:00
invalid_intern_arg.rs ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00:00
invalid_intern_arg.stderr ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00:00
invalid_property_args.rs ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00:00
invalid_property_args.stderr ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00:00
invalid_proto_pymethods.rs ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00:00
invalid_proto_pymethods.stderr ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00: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 allow constructor customization of complex enum variants (#4158) 2024-05-09 21:08:23 +00:00
invalid_pyclass_enum.stderr allow constructor customization of complex enum variants (#4158) 2024-05-09 21:08:23 +00: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 ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00:00
invalid_pyfunction_signatures.stderr ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00:00
invalid_pyfunctions.rs ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00:00
invalid_pyfunctions.stderr ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00:00
invalid_pymethod_enum.rs feat: support pyclass on complex enums 2024-01-18 22:04:42 +09:00
invalid_pymethod_enum.stderr deprecate GIL refs in function argument (#3847) 2024-03-20 22:35:08 +00: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 ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00:00
invalid_pymethod_receiver.stderr ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00:00
invalid_pymethods.rs ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00:00
invalid_pymethods.stderr ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +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 ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00:00
invalid_pymodule_args.rs Use single-arg form of `#[pymodule]` function in docs and tests (#3899) 2024-02-28 22:36:50 +00:00
invalid_pymodule_args.stderr deprecations: remove items deprecated in PyO3 0.14 2021-11-19 16:33:29 +00:00
invalid_pymodule_glob.rs #[pymodule] mod some_module { ... } v3 (#3815) 2024-02-24 13:50:18 +00:00
invalid_pymodule_glob.stderr #[pymodule] mod some_module { ... } v3 (#3815) 2024-02-24 13:50:18 +00:00
invalid_pymodule_in_root.rs #[pymodule] mod some_module { ... } v3 (#3815) 2024-02-24 13:50:18 +00:00
invalid_pymodule_in_root.stderr #[pymodule] mod some_module { ... } v3 (#3815) 2024-02-24 13:50:18 +00:00
invalid_pymodule_trait.rs #[pymodule] mod some_module { ... } v3 (#3815) 2024-02-24 13:50:18 +00:00
invalid_pymodule_trait.stderr Allow inline struct, enum, fn and mod inside of declarative modules (#3902) 2024-03-06 00:31:56 +00:00
invalid_pymodule_two_pymodule_init.rs #[pymodule] mod some_module { ... } v3 (#3815) 2024-02-24 13:50:18 +00:00
invalid_pymodule_two_pymodule_init.stderr Allow inline struct, enum, fn and mod inside of declarative modules (#3902) 2024-03-06 00:31:56 +00:00
invalid_result_conversion.rs deprecate `wrap_pyfunction` with `py` argument (#3954) 2024-03-12 22:57:03 +00:00
invalid_result_conversion.stderr feature gate APIs using `into_gil_ref` (Part 2) (#4166) 2024-05-09 22:21:48 +00: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.78 (#4150) 2024-05-03 07:42:30 +00:00
not_send.rs Add more lints 2022-03-23 08:07:28 +01:00
not_send.stderr ci: updates for Rust 1.77 (#3978) 2024-03-22 20:43:23 +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.77 (#3978) 2024-03-22 20:43:23 +00:00
pyclass_send.rs ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00:00
pyclass_send.stderr ci: updates for Rust 1.77 (#3978) 2024-03-22 20:43:23 +00:00
pymodule_missing_docs.rs add `#[doc(hidden)]` to the Rust module created by `#[pymodule]` (#4067) 2024-04-12 06:34:08 +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 deprecate GIL refs in function argument (#3847) 2024-03-20 22:35:08 +00:00
static_ref.stderr refactor `#[setter]` argument extraction (#4002) 2024-04-01 12:10:18 +00:00
traverse.rs ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +00:00
traverse.stderr ci: updates for Rust 1.78 (#4150) 2024-05-03 07:42:30 +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