pyo3/guide
Aneesh Agrawal c67625d683
Revamp PyType name functions to match PEP 737 (#4196)
* Revamp PyType name functions to match PEP 737

PyType::name uses `tp_name`, which is not consistent.
[PEP 737](https://peps.python.org/pep-0737/) adds a new path forward,
so update PyType::name and add PyType::{module,fully_qualified_name}
to match the PEP.

* refactor conditional code to handle multiple Python versions better

* return `Bound<'py, str>`

* fixup

---------

Co-authored-by: David Hewitt <mail@davidhewitt.dev>
2024-06-22 22:10:27 +00:00
..
src Revamp PyType name functions to match PEP 737 (#4196) 2024-06-22 22:10:27 +00:00
book.toml docs: use `lychee` to check link URLs (#3941) 2024-03-08 14:10:47 +00:00
pyclass-parameters.md feat: Add 'ord' option for PyClass and corresponding tests (#4202) 2024-06-07 19:08:53 +00:00
pyo3_version.py release: 0.17.2 2022-10-04 08:13:53 +01:00