Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
37k
Star
77.4k
Code
Issues
5k+
Pull requests
2.7k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
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.