Unverified Commit 3a37d338 authored by Yannick Jadoul's avatar Yannick Jadoul Committed by GitHub
Browse files

Add __builtins__ to globals argument of `py::exec` and `py::eval` if not present (#2616)

* Add __builtins__ to globals argument of `py::exec` and `py::eval` if not present

* Refactor into inline ensure_builtins_in_globals function
parent ace4deb4
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment