New Features:
- A new
self._pybind11_conduit_v1_()
method is automatically added to allpy::class_
-wrapped types, to enable type-safe interoperability between different independent Python/C++ bindings systems, including pybind11 versions with differentPYBIND11_INTERNALS_VERSION
's. Supported on pybind11 2.11.2, 2.12.1, and 2.13.6+. #5296
Bug fixes:
- Using
__cpp_nontype_template_args
instead of__cpp_nontype_template_parameter_class
. #5330 - Properly translate C++ exception to Python exception when creating Python buffer from wrapped object. #5324
Documentation:
- Adds an answer (FAQ) for "What is a highly conclusive and simple way to find memory leaks?". #5340