github pybind/pybind11 v2.6.1
Version 2.6.1

latest releases: v2.12.0, v2.11.1, v2.11.0...
3 years ago
  • py::exec, py::eval, and py::eval_file now add the builtins module as "__builtins__" to their globals argument, better matching exec and eval in pure Python. #2616
  • setup_helpers will no longer set a minimum macOS version higher than the current version. #2622
  • Allow deleting static properties. #2629
  • Seal a leak in def_buffer, cleaning up the capture object after the class_ object goes out of scope.
    #2634
  • pybind11_INCLUDE_DIRS was incorrect, potentially causing a regression if it was expected to include PYTHON_INCLUDE_DIRS (please use targets instead). #2636
  • Added parameter names to the py::enum_ constructor and methods, avoiding arg0 in the generated docstrings. #2637
  • Added needs_recompile optional function to the ParallelCompiler helper, to allow a recompile to be skipped based on a user-defined function. #2643

Don't miss a new pybind11 release

NewReleases is sending notifications on new releases.