github pybind/pybind11 v2.10.2
Version 2.10.2

latest releases: v2.12.0, v2.11.1, v2.11.0...
16 months ago

Changes:

  • scoped_interpreter constructor taking PyConfig. #4372
  • pybind11/eigen/tensor.h adds converters to and from Eigen::Tensor and Eigen::TensorMap #4201
  • 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. #4246
  • Add option for enable/disable enum members in docstring. #2768
  • Fixed typing of KeysView, ValuesView and ItemsView in bind_map. #4353

Bug fixes:

  • Bug fix affecting only Python 3.6 under very specific, uncommon conditions: move PyEval_InitThreads() call to the correct location. #4350
  • Fix segfault bug when passing foreign native functions to functional.h. #4254

Build system improvements:

  • Support setting PYTHON_LIBRARIES manually for Windows ARM cross-compilation (classic mode). #4406
  • Extend IPO/LTO detection for ICX (a.k.a IntelLLVM) compiler. #4402
  • Allow calling find_package(pybind11 CONFIG) multiple times from separate directories in the same CMake project and properly link Python (new mode). #4401
  • multiprocessing_set_spawn in pytest fixture for added safety. #4377
  • Fixed a bug in two pybind11/tools cmake scripts causing "Unknown arguments specified" errors. #4327

Don't miss a new pybind11 release

NewReleases is sending notifications on new releases.