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

[3.14] gh-132775: Always Set __builtins__ In _PyFunction_FromXIData() (gh-134758) by miss-islington · Pull Request #134794 · python/cpython · GitHub

/ cpython Public

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

Merged
ericsnowcurrently merged 1 commit into
python:3.14from
miss-islington:backport-9b5e800-3.14
May 27, 2025
Merged

[3.14] gh-132775: Always Set __builtins__ In _PyFunction_FromXIData() (gh-134758)#134794
ericsnowcurrently merged 1 commit into
python:3.14from
miss-islington:backport-9b5e800-3.14

Conversation

miss-islington commented May 27, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

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 ericsnowcurrently@gmail.com

…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>
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