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 pyo3-macros-backend: support macros inside doc attributes 2021-08-28 22:47:20 +01:00
ui error when `#[pyo3(signature = ())]` used on invalid methods 2022-11-17 08:28:34 +00:00
common.rs Extend py_run! macro to take dict as *d syntax 2021-03-14 16:33:49 +09:00
test_anyhow.rs clippy: enable some more lints 2022-03-03 07:23:28 +00:00
test_append_to_inittab.rs Add macro append_to_inittab 2022-05-24 07:42:15 +01:00
test_arithmetics.rs Use Python:;with_gil in tests 2022-07-19 19:34:23 +02:00
test_buffer.rs Add more lints 2022-03-23 08:07:28 +01:00
test_buffer_protocol.rs Use Python:;with_gil in tests 2022-07-19 19:34:23 +02:00
test_bytes.rs Use Python:;with_gil in tests 2022-07-19 19:34:23 +02:00
test_class_attributes.rs Use Python:;with_gil in tests 2022-07-19 19:34:23 +02:00
test_class_basics.rs Use Python:;with_gil in tests 2022-07-19 19:34:23 +02:00
test_class_conversion.rs Use Python:;with_gil in tests 2022-07-19 19:34:23 +02:00
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 Use Python:;with_gil in tests 2022-07-19 19:34:23 +02:00
test_default_impls.rs fix some typos 2022-04-24 22:06:32 +08:00
test_dict_iter.rs Use Python:;with_gil in tests 2022-07-19 19:34:23 +02:00
test_enum.rs Some improvements to __richcmp__ on enums 2022-09-16 15:30:56 +01:00
test_exceptions.rs Use Python:;with_gil in tests 2022-07-19 19:34:23 +02:00
test_frompyobject.rs Fix new clippy warnings in Rust 1.63.0 2022-08-12 11:50:23 +08:00
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 Update PyTryFrom for PyMapping and PySequence to more accurately check types (#2477) 2022-08-10 21:03:18 +01:00
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 dev: remove self dev dependency 2021-12-08 07:48:58 +00:00
test_pep_587.rs add regression test for PEP 587 2022-05-15 16:08:21 +01:00
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 Use Python:;with_gil in tests 2022-07-19 19:34:23 +02:00
test_sequence.rs pyclass: add `sequence` option to implement `sq_length` 2022-08-20 07:14:26 +01:00
test_serde.rs Py/PyAny: remove PartialEq impl and add is() (#2183) 2022-02-25 19:39:45 +00:00
test_string.rs Use Python:;with_gil in tests 2022-07-19 19:34:23 +02:00
test_super.rs Add super object (#2486) 2022-07-03 19:21:15 +01:00
test_text_signature.rs add `#[pyo3(signature = (...))]` attribute (#2702) 2022-10-25 07:23:21 +01:00
test_unsendable_dict.rs Use Python:;with_gil in tests 2022-07-19 19:34:23 +02:00
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 Use Python:;with_gil in tests 2022-07-19 19:34:23 +02:00
test_wrap_pyfunction_deduction.rs Add more lints 2022-03-23 08:07:28 +01:00