Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
gh-132775: Always Set __builtins__ In _PyFunction_FromXIData()#134758
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
gh-132775: Always Set __builtins__ In _PyFunction_FromXIData()#134758
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Might as well throw a checkmark on here :)
9b5e800
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@ericsnowcurrently for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…ythongh-134758)This is a small follow-up topythongh-133481. There's a corner casein the behavior of PyImport_ImportModuleAttrString(), whereit expects __builtins__ to be set if __globals__ is set.(cherry picked from commit9b5e800)Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
GH-134794 is a backport of this pull request to the3.14 branch. |
…gh-134794)This is a small follow-up togh-133481. There's a corner casein the behavior of PyImport_ImportModuleAttrString(), whereit expects __builtins__ to be set if __globals__ is set.(cherry picked from commit9b5e800, AKAgh-134758)Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Uh oh!
There was an error while loading.Please reload this page.
This is a small follow-up togh-133481. There's a corner case in the behavior of
PyImport_ImportModuleAttrString()
where it expects__builtins__
to be set if__globals__
is set.