Skip to content

[3.14] gh-132775: Always Set __builtins__ In _PyFunction_FromXIData() (gh-134758) #134794

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

Merged
merged 1 commit into from
May 27, 2025

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 27, 2025

This is a small follow-up to gh-133481. There's a corner case
in the behavior of PyImport_ImportModuleAttrString(), where
it expects builtins to be set if globals is set.
(cherry picked from commit 9b5e800)

Co-authored-by: Eric Snow [email protected]

…ythongh-134758)

This is a small follow-up to pythongh-133481.  There's a corner case
in the behavior of PyImport_ImportModuleAttrString(), where
it expects __builtins__ to be set if __globals__ is set.
(cherry picked from commit 9b5e800)

Co-authored-by: Eric Snow <[email protected]>
@ericsnowcurrently ericsnowcurrently enabled auto-merge (squash) May 27, 2025 15:48
@ericsnowcurrently ericsnowcurrently merged commit 6493395 into python:3.14 May 27, 2025
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants