FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-132775: Always Set __builtins__ In _PyFunction_FromXIData() by ericsnowcurrently · Pull Request #134758 · python/cpython · GitHub

/ cpython Public

gh-132775: Always Set __builtins__ In _PyFunction_FromXIData() - #134758

Merged
ericsnowcurrently merged 3 commits into
python:mainfrom
ericsnowcurrently:fix-missing-builtins
May 27, 2025
Merged

gh-132775: Always Set __builtins__ In _PyFunction_FromXIData()#134758
ericsnowcurrently merged 3 commits into
python:mainfrom
ericsnowcurrently:fix-missing-builtins

Conversation

ericsnowcurrently commented May 26, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

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.

Comment thread Python/crossinterp_data_lookup.h Outdated
ericsnowcurrently enabled auto-merge (squash) May 27, 2025 15:17

ZeroIntensity left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Might as well throw a checkmark on here :)

ericsnowcurrently merged commit 9b5e800 into python:main May 27, 2025

Copy link
Copy Markdown

Thanks @ericsnowcurrently for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 27, 2025
…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 <ericsnowcurrently@gmail.com>

bedevere-app Bot commented May 27, 2025

Copy link
Copy Markdown

GH-134794 is a backport of this pull request to the 3.14 branch.

bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label May 27, 2025
ericsnowcurrently deleted the fix-missing-builtins branch May 27, 2025 15:47
ericsnowcurrently added a commit that referenced this pull request May 27, 2025
…gh-134794)

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, AKA gh-134758)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
…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.
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
…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.
gostak-dd pushed a commit to gostak-dd/cpython that referenced this pull request Jun 2, 2026
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL