pyo3/tests
Lily Foote 56683ed553
deprecate Py::as_ref (#3864)
* Deprecate Py::as_ref

* Reword as_ref deprecation note

Co-authored-by: David Hewitt <mail@davidhewitt.dev>

* Tidy up remaining uses of Py::as_ref

Co-authored-by: David Hewitt <mail@davidhewitt.dev>

* Pass hello into println! explicitly

---------

Co-authored-by: David Hewitt <mail@davidhewitt.dev>
2024-02-29 07:15:34 +00:00
..
ui deprecate Py::as_ref (#3864) 2024-02-29 07:15:34 +00:00
test_anyhow.rs port `Python::run` to `Bound` API 2024-02-09 22:09:16 +01:00
test_append_to_inittab.rs Use single-arg form of `#[pymodule]` function in docs and tests (#3899) 2024-02-28 22:36:50 +00:00
test_arithmetics.rs deprecate `PyCell::new` in favor of `Py::new` or `Bound::new` (#3872) 2024-02-20 07:45:47 +00:00
test_buffer.rs fix `AsRef` and `Deref` impls on `Bound<T>` (#3879) 2024-02-22 22:38:42 +00:00
test_buffer_protocol.rs convert `PyBuffer` to `Bound` API (#3836) 2024-02-14 22:10:59 +00:00
test_bytes.rs add `PyBytes::new_bound` 2024-02-01 08:52:28 +00:00
test_class_attributes.rs port `Python::get_type` to `Bound` API (#3846) 2024-02-18 18:27:19 +00:00
test_class_basics.rs add `PyModule::new_bound` and `PyModule::import_bound` (#3775) 2024-02-22 09:35:47 +00:00
test_class_conversion.rs fix `AsRef` and `Deref` impls on `Bound<T>` (#3879) 2024-02-22 22:38:42 +00:00
test_class_new.rs add `PyModule::new_bound` and `PyModule::import_bound` (#3775) 2024-02-22 09:35:47 +00:00
test_compile_error.rs #[pymodule] mod some_module { ... } v3 (#3815) 2024-02-24 13:50:18 +00:00
test_coroutine.rs add `PyModule::new_bound` and `PyModule::import_bound` (#3775) 2024-02-22 09:35:47 +00:00
test_datetime.rs port `Python::import` to `Bound` API (#3832) 2024-02-14 00:24:37 +00:00
test_datetime_import.rs port `Python::import` to `Bound` API (#3832) 2024-02-14 00:24:37 +00:00
test_declarative_module.rs #[pymodule] mod some_module { ... } v3 (#3815) 2024-02-24 13:50:18 +00:00
test_default_impls.rs tests/common.rs -> src/tests/common.rs 2023-09-24 13:34:53 +01:00
test_dict_iter.rs port `IntoPyDict` to `Bound` API 2024-02-10 15:47:26 +01:00
test_enum.rs port `Python::get_type` to `Bound` API (#3846) 2024-02-18 18:27:19 +00:00
test_exceptions.rs ci: fix redundant import warnings on nightly (#3873) 2024-02-19 22:07:05 +00:00
test_field_cfg.rs fix `AsRef` and `Deref` impls on `Bound<T>` (#3879) 2024-02-22 22:38:42 +00:00
test_frompyobject.rs update `#[derive(FromPyObject)]` to use `extract_bound` (#3828) 2024-02-13 00:09:41 +00:00
test_gc.rs deprecate `PyCell::new` in favor of `Py::new` or `Bound::new` (#3872) 2024-02-20 07:45:47 +00:00
test_getter_setter.rs port `Python::get_type` to `Bound` API (#3846) 2024-02-18 18:27:19 +00:00
test_inheritance.rs fix `AsRef` and `Deref` impls on `Bound<T>` (#3879) 2024-02-22 22:38:42 +00:00
test_macro_docs.rs port `Python::get_type` to `Bound` API (#3846) 2024-02-18 18:27:19 +00:00
test_macros.rs port `Python::get_type` to `Bound` API (#3846) 2024-02-18 18:27:19 +00:00
test_mapping.rs fix `AsRef` and `Deref` impls on `Bound<T>` (#3879) 2024-02-22 22:38:42 +00:00
test_methods.rs deprecate `PyCell::new` in favor of `Py::new` or `Bound::new` (#3872) 2024-02-20 07:45:47 +00:00
test_module.rs Use single-arg form of `#[pymodule]` function in docs and tests (#3899) 2024-02-28 22:36:50 +00:00
test_multiple_pymethods.rs port `Python::get_type` to `Bound` API (#3846) 2024-02-18 18:27:19 +00:00
test_no_imports.rs Allow pymodule functions to take a single Bound<'_, PyModule> arg (#3905) 2024-02-27 22:24:14 +00:00
test_proto_methods.rs fix `AsRef` and `Deref` impls on `Bound<T>` (#3879) 2024-02-22 22:38:42 +00:00
test_pyfunction.rs Pymodule bound (#3897) 2024-02-27 19:19:52 +00:00
test_pyself.rs deprecate `PyCell::new` in favor of `Py::new` or `Bound::new` (#3872) 2024-02-20 07:45:47 +00:00
test_sequence.rs deprecate `PyCell::new` in favor of `Py::new` or `Bound::new` (#3872) 2024-02-20 07:45:47 +00:00
test_serde.rs fix test-serde beta clippy warning 2023-11-28 07:29:45 +00:00
test_static_slots.rs port `Python::get_type` to `Bound` API (#3846) 2024-02-18 18:27:19 +00:00
test_string.rs tests/common.rs -> src/tests/common.rs 2023-09-24 13:34:53 +01:00
test_super.rs port `Python::get_type` to `Bound` API (#3846) 2024-02-18 18:27:19 +00:00
test_text_signature.rs Use single-arg form of `#[pymodule]` function in docs and tests (#3899) 2024-02-28 22:36:50 +00:00
test_unsendable_dict.rs Use Python:;with_gil in tests 2022-07-19 19:34:23 +02:00
test_variable_arguments.rs port `Python::get_type` to `Bound` API (#3846) 2024-02-18 18:27:19 +00:00
test_various.rs add `PyModule::new_bound` and `PyModule::import_bound` (#3775) 2024-02-22 09:35:47 +00:00
test_wrap_pyfunction_deduction.rs Pymodule bound (#3897) 2024-02-27 19:19:52 +00:00