Skip to content

Version 2.6.1

Compare
Choose a tag to compare
@henryiii henryiii released this 12 Nov 00:24
· 889 commits to master since this release
f1abf5d
  • 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