gh-132775: Add _PyFunction_GetXIData() by ericsnowcurrently · Pull Request #133481 · python/cpython · GitHub
Skip to content

gh-132775: Add _PyFunction_GetXIData() - #133481

Merged
ericsnowcurrently merged 2 commits into
python:mainfrom
ericsnowcurrently:add-pyfunction-getxidata
May 12, 2025
Merged

ericsnowcurrently merged 2 commits into
python:mainfrom
ericsnowcurrently:add-pyfunction-getxidata

Conversation

@ericsnowcurrently

@ericsnowcurrently ericsnowcurrently commented May 6, 2025

Copy link
Copy Markdown
Member

(This is based on gh-133480, thus only the last commit.)

@ericsnowcurrently
ericsnowcurrently force-pushed the add-pyfunction-getxidata branch from d762347 to 4a195d8 Compare May 8, 2025 16:07
@ericsnowcurrently
ericsnowcurrently marked this pull request as ready for review May 8, 2025 16:08
@ericsnowcurrently ericsnowcurrently added the needs backport to 3.14 bugs and security fixes label May 8, 2025
Comment thread Python/crossinterp_data_lookup.h Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not confusing, but the triple negation (non, less, not) looks a bit redundant. I do not think NotShareableError needs "not shareable" in the message.

@ericsnowcurrently
ericsnowcurrently enabled auto-merge (squash) May 12, 2025 21:44
@ericsnowcurrently
ericsnowcurrently merged commit 8cf4947 into python:main May 12, 2025
@miss-islington-app

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 12, 2025
(cherry picked from commit 8cf4947)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
@bedevere-app

bedevere-app Bot commented May 12, 2025

Copy link
Copy Markdown

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

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label May 12, 2025
@ericsnowcurrently
ericsnowcurrently deleted the add-pyfunction-getxidata branch May 12, 2025 22:13
@bedevere-bot

Copy link
Copy Markdown

ericsnowcurrently added a commit that referenced this pull request May 12, 2025
(cherry picked from commit 8cf4947, AKA gh-133481)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
ericsnowcurrently added a commit that referenced this pull request May 27, 2025
…4758)

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

3 participants