Skip to content

gh-152298: Fix LazyImportType.resolve reification#152308

Draft
Kuhai9801 wants to merge 14 commits into
python:mainfrom
Kuhai9801:gh-152298-lazy-resolve
Draft

gh-152298: Fix LazyImportType.resolve reification#152308
Kuhai9801 wants to merge 14 commits into
python:mainfrom
Kuhai9801:gh-152298-lazy-resolve

Conversation

@Kuhai9801

Copy link
Copy Markdown

Make types.LazyImportType.resolve() cache successful reification and
replace the original module-global binding only when it still references the
same lazy import proxy.

@python-cla-bot

python-cla-bot Bot commented Jun 26, 2026

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@read-the-docs-community

read-the-docs-community Bot commented Jun 27, 2026

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33333139 | 📁 Comparing eb3bcc9 against main (1812162)

  🔍 Preview build  

2 files changed
± library/types.html
± whatsnew/changelog.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant