v2.6.1
版本发布时间: 2020-11-12 08:24:02
pybind/pybind11最新发布版本:v2.13.6(2024-09-14 08:33:41)
-
py::exec
,py::eval
, andpy::eval_file
now add the builtins module as"__builtins__"
to theirglobals
argument, better matchingexec
andeval
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 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