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
Events
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-83065: Fix import deadlock by implementing hierarchical module locking
- #137196
#137196
Merged
gpshead
merged 6 commits into
python:main
python/cpython:main
from
gpshead:gps/import-lock-heirarchy-gh-83065
gpshead/cpython:gps/import-lock-heirarchy-gh-83065
Copy head branch name to clipboard
Apr 28, 2026
Conversation
Commits
6
(6)
Checks
Files changed
Merged
GH-83065: Fix import deadlock by implementing hierarchical module locking
#137196
gpshead
merged 6 commits into
python:main
python/cpython:main
from
gpshead:gps/import-lock-heirarchy-gh-83065
gpshead/cpython:gps/import-lock-heirarchy-gh-83065
Copy head branch name to clipboard
Commits
Commits on Jul 29, 2025
gh-83065: Fix import deadlock by implementing hierarchical module locking
Show description for 78d4373
gpshead
and
claude
committed
78d4373
View commit details
Copy full SHA for 78d4373
Browse repository at this point
Commits on Apr 27, 2026
Merge upstream/main into gps/import-lock-heirarchy-gh-83065
Show description for 22c3d9e
gpshead
committed
22c3d9e
View commit details
Copy full SHA for 22c3d9e
Browse repository at this point
Commits on Apr 28, 2026
_HierarchicalLockManager: release locks on __enter__ failure; accept partial parent on cycle
Show description for 4784023
gpshead
committed
4784023
View commit details
Copy full SHA for 4784023
Browse repository at this point
test_threaded_import: tighten hierarchical test; add cross-package circular test
Show description for fd9da14
gpshead
committed
fd9da14
View commit details
Copy full SHA for fd9da14
Browse repository at this point
Add NEWS entry and What's New for the gh-83065 import deadlock fix
gpshead
committed
12eb777
View commit details
Copy full SHA for 12eb777
Browse repository at this point
Drop comments that restate adjacent code
gpshead
committed
b3d4028
View commit details
Copy full SHA for b3d4028
Browse repository at this point
You can’t perform that action at this time.