py::exec
,py::eval
, andpy::eval_file
now add the builtins module as"__builtins__"
to theirglobals
argument, better matchingexec
andeval
in pure Python. #2616setup_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 thecapture
object after theclass_
object goes out of scope.
#2634 pybind11_INCLUDE_DIRS
was incorrect, potentially causing a regression if it was expected to includePYTHON_INCLUDE_DIRS
(please use targets instead). #2636- Added parameter names to the
py::enum_
constructor and methods, avoidingarg0
in the generated docstrings. #2637 - Added
needs_recompile
optional function to theParallelCompiler
helper, to allow a recompile to be skipped based on a user-defined function. #2643