pybind11/include/pybind11/detail
Victor Stinner dc477fac0e
fix: Use PyObject_VisitManagedDict() of Python 3.13 (#4973)
* fix: Use PyObject_VisitManagedDict() of Python 3.13

Use PyObject_VisitManagedDict() and PyObject_ClearManagedDict() in
pybind11_traverse() and pybind11_clear() on Python 3.13 and newer.

* Add Python 3.13 CI

* tests: don't get numpy/scipy on 3.13 yet

* ci: move 3.13 to upstream

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

---------

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
2023-12-14 18:42:55 -08:00
..
class.h fix: Use PyObject_VisitManagedDict() of Python 3.13 (#4973) 2023-12-14 18:42:55 -08:00
common.h Add pybind11/gil_safe_call_once.h (to fix deadlocks in pybind11/numpy.h) (#4877) 2023-10-11 21:05:31 -07:00
descr.h chore: make #4587 use proper cpp17 feature macro (#4592) 2023-03-27 10:59:56 -04:00
init.h chore(deps): update pre-commit hooks (#4868) 2023-10-03 13:13:44 -04:00
internals.h Add 2 missing throw error_already_set(); (#4863) 2023-09-27 09:55:49 -07:00
type_caster_base.h Fix a long-standing bug in the handling of Python multiple inheritance (#4762) 2023-11-08 12:44:04 -08:00
typeid.h Add std::string clean_type_id(const char *typeid_name) overload (in namespace detail). (#4049) 2022-07-07 19:08:10 -07:00