pyo3/src
Icxolu 61bc02d927
deprecate PyCell::new in favor of Py::new or Bound::new (#3872)
* deprecate `PyCell::new` in favor of `Py::new` or `Bound::new`

* update deprecation warning

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

---------

Co-authored-by: David Hewitt <mail@davidhewitt.dev>
2024-02-20 07:45:47 +00:00
..
conversions Deprecate Py::into_ref (#3867) 2024-02-20 07:10:45 +00:00
coroutine Use the new bound API instead of .as_ref(py) (#3853) 2024-02-18 00:09:56 +00:00
err Replace as_ref(py) with Bound APIs (#3863) 2024-02-19 22:39:54 +00:00
ffi add _bound constructors for datetime types (#3778) 2024-02-12 20:49:58 +00:00
impl_ Deprecate Py::into_ref (#3867) 2024-02-20 07:10:45 +00:00
inspect docs: require docs on all public APIs 2022-09-07 07:42:23 +01:00
pycell call PyObject_GC_Untrack before deallocating 2023-09-09 22:29:58 +01:00
pyclass Replace as_ref(py) with Bound APIs (#3863) 2024-02-19 22:39:54 +00:00
tests port Python::get_type to Bound API (#3846) 2024-02-18 18:27:19 +00:00
types Deprecate Py::into_ref (#3867) 2024-02-20 07:10:45 +00:00
buffer.rs convert PyBuffer to Bound API (#3836) 2024-02-14 22:10:59 +00:00
callback.rs add as_ptr and into_ptr inherent methods 2023-08-11 10:49:42 +01:00
conversion.rs migrate some final FromPyObject implementations to the Bound API (#3869) 2024-02-19 22:14:26 +00:00
coroutine.rs Use the new bound API instead of .as_ref(py) (#3853) 2024-02-18 00:09:56 +00:00
derive_utils.rs remove copyright headers from source files 2023-06-03 22:38:54 +01:00
exceptions.rs Deprecate Py::into_ref (#3867) 2024-02-20 07:10:45 +00:00
ffi_ptr_ext.rs implement iterator for Bound iterator 2023-12-24 19:52:36 +00:00
gil.rs port Python::import to Bound API (#3832) 2024-02-14 00:24:37 +00:00
impl_.rs feat: add coroutine __name__/__qualname__ and not-awaited warning 2023-11-25 21:51:20 +01:00
instance.rs Deprecate Py::into_ref (#3867) 2024-02-20 07:10:45 +00:00
internal_tricks.rs support text_signature on #[new] 2023-05-04 07:15:11 +01:00
lib.rs add PyBackedStr and PyBackedBytes (#3802) 2024-02-15 07:58:20 +00:00
macros.rs deprecate PyCell::new in favor of Py::new or Bound::new (#3872) 2024-02-20 07:45:47 +00:00
marker.rs Deprecate Py::into_ref (#3867) 2024-02-20 07:10:45 +00:00
marshal.rs deprecate PyDict::new constructor (#3823) 2024-02-11 23:55:56 +00:00
panic.rs safety: abort on uncaught panics 2022-08-14 13:47:46 +01:00
prelude.rs port PyComplex::from_complex to Bound API (#3866) 2024-02-18 23:37:02 +00:00
py_result_ext.rs implement PyModuleMethods 2023-12-29 21:46:46 +00:00
pybacked.rs add PyBackedStr and PyBackedBytes (#3802) 2024-02-15 07:58:20 +00:00
pycell.rs deprecate PyCell::new in favor of Py::new or Bound::new (#3872) 2024-02-20 07:45:47 +00:00
pyclass.rs Also replace IterANextOutput by autoref-based specialization to allow returning arbitrary values 2023-12-20 09:56:16 +01:00
pyclass_init.rs port Python::get_type to Bound API (#3846) 2024-02-18 18:27:19 +00:00
sync.rs ci: fix redundant import warnings on nightly (#3873) 2024-02-19 22:07:05 +00:00
test_utils.rs truncate leap seconds on chrono to datetime conversions 2023-09-24 20:28:43 +01:00
type_object.rs add bound method variants for PyTypeInfo 2024-02-08 22:27:05 +00:00
version.rs Add numeric and object protocol examples 2022-02-23 10:09:45 +01:00