Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add __builtins__ to globals in py.run() if they're missing #3378

Merged
merged 1 commit into from
Aug 11, 2023

Commits on Aug 11, 2023

  1. add __builtins__ to globals in py.run() if they're missing

    Python code doesn't like to run without `__builtins__`, so adding them
    if missing seems to be a good idea. Also that's what CPython >3.10 does.
    
    See python/cpython#24564
    Resolves PyO3#3370
    GoldsteinE committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    0be94a5 View commit details
    Browse the repository at this point in the history