forked from pool/python-pybind11
* Temporarily made our GIL status assertions (added in 2.10.2) disabled by
default (re-enable manually by defining
``PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF``, will be enabled in 2.11).
* Improved error messages when ``inc_ref``/``dec_ref`` are called with an
invalid GIL state.
* Some minor touchups found by static analyzers.
* ``scoped_interpreter`` constructor taking ``PyConfig``.
* ``pybind11/eigen/tensor.h`` adds converters to and from
``Eigen::Tensor`` and
``Eigen::TensorMap``.
* ``PyGILState_Check()``'s were integrated to ``pybind11::handle``
``inc_ref()`` & ``dec_ref()``. The added GIL checks are guarded by
``PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF``, which is the default only if
``NDEBUG`` is not defined. (Made non-default in 2.10.3, will be active in 2.11)
* Add option for enable/disable enum members in docstring.
* Fixed typing of ``KeysView``, ``ValuesView`` and ``ItemsView`` in
``bind_map``.
* Fix segfault bug when passing foreign native functions to functional.h.
* Build system improvements:
* Support setting PYTHON_LIBRARIES manually for Windows ARM cross-
compilation
(classic mode).
* Extend IPO/LTO detection for ICX (a.k.a IntelLLVM) compiler.
* Allow calling ``find_package(pybind11 CONFIG)`` multiple times from
separate
directories in the same CMake project and properly link Python (new mode).
* ``multiprocessing_set_spawn`` in pytest fixture for added safety.
* Fixed a bug in two pybind11/tools cmake scripts causing "Unknown
arguments specified" errors.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybind11?expand=0&rev=39
28 KiB
28 KiB