Skip to content

gh-144957: Fix lazy imports + module __getattr__ - #149624

Merged
encukou merged 1 commit into
python:mainfrom
JelleZijlstra:lazy-getattr
May 11, 2026
Merged

gh-144957: Fix lazy imports + module __getattr__#149624
encukou merged 1 commit into
python:mainfrom
JelleZijlstra:lazy-getattr

Conversation

@JelleZijlstra

@JelleZijlstraJelleZijlstra commented May 9, 2026

Copy link
Copy Markdown
Member

Comment threadObjects/moduleobject.c

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

Thanks a lot @JelleZijlstra!

@encukou
encukou merged commit 56171da into python:mainMay 11, 2026
65 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @JelleZijlstra for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

@bedevere-app

Copy link
Copy Markdown

GH-149678 is a backport of this pull request to the 3.15 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label May 11, 2026
@JelleZijlstra
JelleZijlstra deleted the lazy-getattr branch May 11, 2026 13:15
JelleZijlstra added a commit that referenced this pull request May 11, 2026
…149678)
gh-144957: Fix lazy imports + module __getattr__ (GH-149624)
(cherry picked from commit 56171da)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Sign up for freeto 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

@JelleZijlstra@pablogsal@encukou