Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.3k
(2.3k)
Actions
Projects
Security and quality
Insights
More
items
gh-142349: Simplify lazy import resolution
- #158282
#158282
Merged
hugovk
merged 19 commits into
python:
main
python/cpython:main
from
pablogsal:
simplify-
lazy-
imports-
c
pablogsal/cpython:simplify-lazy-imports-c
Copy head branch name to clipboard
Oct 1, 2026
Conversation
Commits
19
(19)
Checks
Files changed
Merged
gh-142349: Simplify lazy import resolution
#158282
hugovk
merged 19 commits into
python:
main
python/cpython:main
from
pablogsal:
simplify-
lazy-
imports-
c
pablogsal/cpython:simplify-lazy-imports-c
Copy head branch name to clipboard
Commits
Commits on Sep 27, 2026
Move lazy resolution next to the placeholder
Show description for 67ed535
pablogsal
committed
67ed535
View commit details
Copy full SHA for 67ed535
Browse repository at this point
Track lazy resolution per thread
Show description for ac89dd0
pablogsal
committed
ac89dd0
View commit details
Copy full SHA for ac89dd0
Browse repository at this point
Keep the original lazy import error chain
Show description for 846f934
pablogsal
committed
846f934
View commit details
Copy full SHA for 846f934
Browse repository at this point
Avoid waiting in the lazy from shortcut
Show description for dd01552
pablogsal
committed
dd01552
View commit details
Copy full SHA for dd01552
Browse repository at this point
Simplify lazy import declarations
Show description for b78ebc9
pablogsal
committed
b78ebc9
View commit details
Copy full SHA for b78ebc9
Browse repository at this point
Handle lazy module hooks and children together
Show description for 917df44
pablogsal
committed
917df44
View commit details
Copy full SHA for 917df44
Browse repository at this point
Share lazy import rebinding
Show description for 4dc64c8
pablogsal
committed
4dc64c8
View commit details
Copy full SHA for 4dc64c8
Browse repository at this point
Keep imported attributes on their parent package
Show description for ad34fae
pablogsal
committed
ad34fae
View commit details
Copy full SHA for ad34fae
Browse repository at this point
Commits on Sep 30, 2026
Add/move assertions to replace_value
Show description for 047f4d4
encukou
committed
047f4d4
View commit details
Copy full SHA for 047f4d4
Browse repository at this point
Replace BPO issue number with GH
encukou
committed
3612cf9
View commit details
Copy full SHA for 3612cf9
Browse repository at this point
Switch matches to Py_ssize_t
encukou
committed
c5068e0
View commit details
Copy full SHA for c5068e0
Browse repository at this point
PEP 257
encukou
committed
d7a2482
View commit details
Copy full SHA for d7a2482
Browse repository at this point
Expand asserts for readability & better error reporting
encukou
committed
456a83f
View commit details
Copy full SHA for 456a83f
Browse repository at this point
Commits on Oct 1, 2026
Update lazyimportobject.c
Show description for 3dae4a6
pablogsal
and
encukou
authored
3dae4a6
View commit details
Copy full SHA for 3dae4a6
Browse repository at this point
Add notes
encukou
committed
88146d0
View commit details
Copy full SHA for 88146d0
Browse repository at this point
Add test for adding notes to chained exceptions
encukou
committed
e3b48f5
View commit details
Copy full SHA for e3b48f5
Browse repository at this point
Add test for fromlist type checking
encukou
committed
523fa99
View commit details
Copy full SHA for 523fa99
Browse repository at this point
Apply batched suggestions from code review
Show description for e44cc18
encukou
and
hugovk
authored
e44cc18
View commit details
Copy full SHA for e44cc18
Browse repository at this point
Merge pull request #145 from encukou/simplify-lazy-imports-c
Show description for b09a509
pablogsal
authored
b09a509
View commit details
Copy full SHA for b09a509
Browse repository at this point
You can’t perform that action at this time.