1
0
mirror of https://github.com/pybind/pybind11.git synced 2025-03-26 02:17:39 +00:00
pybind11/docs/advanced
Jeremy Maitin-Shepard 62c4909cce
Add custom_type_setup attribute ()
* Fix `pybind11::object::operator=` to be safe if `*this` is accessible from Python

* Add `custom_type_setup` attribute

This allows for custom modifications to the PyHeapTypeObject prior to
calling `PyType_Ready`.  This may be used, for example, to define
`tp_traverse` and `tp_clear` functions.
2021-09-24 12:08:22 -07:00
..
cast Add blacken-docs and pycln pre-commit hooks () 2021-09-22 15:38:50 -04:00
pycpp Add blacken-docs and pycln pre-commit hooks () 2021-09-22 15:38:50 -04:00
classes.rst Add custom_type_setup attribute () 2021-09-24 12:08:22 -07:00
embedding.rst Add blacken-docs and pycln pre-commit hooks () 2021-09-22 15:38:50 -04:00
exceptions.rst Clone of @virtuald's PR with minor enhancements. () 2021-08-23 17:30:01 -07:00
functions.rst Add blacken-docs and pycln pre-commit hooks () 2021-09-22 15:38:50 -04:00
misc.rst chore: drop support for PyPy < 7.3.1 and clean up old PyPy workarounds () 2020-10-05 10:43:27 -04:00
smart_ptrs.rst Add blacken-docs and pycln pre-commit hooks () 2021-09-22 15:38:50 -04:00