pyo3/tests
bors[bot] 08423557d4
Merge #2739
2739: error when `#[pyo3(signature = ())]` used on invalid methods r=davidhewitt a=davidhewitt

A follow-up to #2702 to reject some invalid applications of `#[pyo3(signature = (...))]` attribute, specifically on magic methods and getters / setters / class attributes.

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2022-11-22 19:41:27 +00:00
..
not_msrv
ui error when #[pyo3(signature = ())] used on invalid methods 2022-11-17 08:28:34 +00:00
common.rs
test_anyhow.rs
test_append_to_inittab.rs
test_arithmetics.rs
test_buffer.rs
test_buffer_protocol.rs
test_bytes.rs
test_class_attributes.rs
test_class_basics.rs
test_class_conversion.rs
test_class_new.rs Fix being able to call arg-less #[new] with any args from Python 2022-11-20 08:25:19 +01:00
test_compile_error.rs error when #[pyo3(signature = ())] used on invalid methods 2022-11-17 08:28:34 +00:00
test_datetime.rs
test_default_impls.rs
test_dict_iter.rs
test_enum.rs
test_exceptions.rs
test_frompyobject.rs
test_gc.rs Use Python::get_type() instead of PyTypeInfo::type_object() 2022-11-20 15:16:18 +01:00
test_getter_setter.rs Implement get/set all on pyclass 2022-10-17 02:37:43 +02:00
test_inheritance.rs Use Python::get_type() instead of PyTypeInfo::type_object() 2022-11-20 15:16:18 +01:00
test_macros.rs add #[pyo3(signature = (...))] attribute (#2702) 2022-10-25 07:23:21 +01:00
test_mapping.rs
test_methods.rs add #[pyo3(signature = (...))] attribute (#2702) 2022-10-25 07:23:21 +01:00
test_module.rs add #[pyo3(signature = (...))] attribute (#2702) 2022-10-25 07:23:21 +01:00
test_multiple_pymethods.rs Use Python::get_type() instead of PyTypeInfo::type_object() 2022-11-20 15:16:18 +01:00
test_not_msrv.rs
test_pep_587.rs
test_proto_methods.rs Py/PyAny: deprecate cast_as() in favor of downcast() 2022-11-18 07:00:40 +01:00
test_pyfunction.rs Merge pull request #2686 from dalcde/closure-name-doc 2022-11-06 17:35:20 +01:00
test_pyself.rs
test_sequence.rs
test_serde.rs
test_string.rs
test_super.rs
test_text_signature.rs add #[pyo3(signature = (...))] attribute (#2702) 2022-10-25 07:23:21 +01:00
test_unsendable_dict.rs
test_variable_arguments.rs add #[pyo3(signature = (...))] attribute (#2702) 2022-10-25 07:23:21 +01:00
test_variable_arguments_deprecated.rs add #[pyo3(signature = (...))] attribute (#2702) 2022-10-25 07:23:21 +01:00
test_various.rs
test_wrap_pyfunction_deduction.rs