pyo3/src
Lily Foote baf5c8ec0a
Implement PyErr::get_type_bound (#3819)
* Implement PyErr::get_type_bound

* Update docs for PyErr::get_type_bound

* Fix doctest for cloning PyErr

* Import the whole prelude in docs example

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

* Remove unnecessary self lifetime

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

* Remove more unnecessary self lifetimes

* Use variables to avoid dangling pointers

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

* Avoid using ffi in fn ptype on Py_3_12

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

* Add missing imports to fn ptype

---------

Co-authored-by: David Hewitt <mail@davidhewitt.dev>
2024-02-11 21:07:28 +00:00
..
conversions port IntoPyDict to Bound API 2024-02-10 15:47:26 +01:00
coroutine for now just change return type of intern! 2024-01-30 13:28:07 +00:00
err Implement PyErr::get_type_bound (#3819) 2024-02-11 21:07:28 +00:00
ffi port Python::run to Bound API 2024-02-09 22:09:16 +01:00
impl_ Implement PyErr::get_type_bound (#3819) 2024-02-11 21:07:28 +00:00
inspect
pycell
pyclass Refactor create_type_object so that most of the code is monomorphic 2023-11-28 20:09:34 -05:00
tests port IntoPyDict to Bound API 2024-02-10 15:47:26 +01:00
types Merge pull request #3818 from davidhewitt/datetime-segv 2024-02-11 09:04:32 +00:00
buffer.rs port Python::eval to Bound API 2024-02-09 17:52:00 +01:00
callback.rs
conversion.rs adjust FromPyObject implementations to always use 'py lifetime 2024-02-04 14:22:03 +00:00
coroutine.rs migrate many FromPyObject implementations to Bound API 2024-02-04 14:22:03 +00:00
derive_utils.rs
exceptions.rs port IntoPyDict to Bound API 2024-02-10 15:47:26 +01:00
ffi_ptr_ext.rs implement iterator for Bound iterator 2023-12-24 19:52:36 +00:00
gil.rs port Python::run to Bound API 2024-02-09 22:09:16 +01:00
impl_.rs
instance.rs port IntoPyDict to Bound API 2024-02-10 15:47:26 +01:00
internal_tricks.rs
lib.rs port IntoPyDict to Bound API 2024-02-10 15:47:26 +01:00
macros.rs port IntoPyDict to Bound API 2024-02-10 15:47:26 +01:00
marker.rs port IntoPyDict to Bound API 2024-02-10 15:47:26 +01:00
marshal.rs convert marshal to Bound API 2024-02-04 16:25:00 +01:00
panic.rs
prelude.rs implement PyCapsuleMethods 2024-01-29 18:22:40 +01:00
py_result_ext.rs implement PyModuleMethods 2023-12-29 21:46:46 +00:00
pycell.rs add bound method variants for PyTypeInfo 2024-02-08 22:27:05 +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
sync.rs add bound method variants for PyTypeInfo 2024-02-08 22:27:05 +00:00
test_utils.rs
type_object.rs add bound method variants for PyTypeInfo 2024-02-08 22:27:05 +00:00
version.rs