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
Commits
Breadcrumbs
History for
cpython
Python
lock.c
on
v3.14.4
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 22, 2025
[3.14] gh-134009: Expose `PyMutex_IsLocked` in the public C API (gh-134365) (#136971)
Show description for 8e43b13
hugovk
and
colesbury
authored
8e43b13
View commit details
Copy full SHA for 8e43b13
View code at this point
Browse repository at this point
Commits on Jun 25, 2025
[3.14] gh-135871: Fix needless spinning in `_PyMutex_LockTimed` with zero timeout (gh-135872) (gh-135946)
Show description for 80fc62f
miss-islington
and
jtibbertsma
authored
80fc62f
View commit details
Copy full SHA for 80fc62f
View code at this point
Browse repository at this point
Commits on Mar 14, 2025
gh-111178: Fix function signatures to fix undefined behavior (#131191)
vstinner
authored
a577663
View commit details
Copy full SHA for a577663
View code at this point
Browse repository at this point
Commits on Mar 11, 2025
gh-131082: Add missing guards for WIN32_LEAN_AND_MEAN (#131044)
Show description for de8818a
maxbachmann
authored
de8818a
View commit details
Copy full SHA for de8818a
View code at this point
Browse repository at this point
Commits on Oct 14, 2024
gh-125139: use `_PyRecursiveMutex` in `_thread.RLock` (#125144)
kumaraditya303
authored
67f6e08
View commit details
Copy full SHA for 67f6e08
View code at this point
Browse repository at this point
Commits on Jul 8, 2024
gh-121368: Fix seq lock memory ordering in _PyType_Lookup (#121388)
Show description for 1d3cf79
colesbury
authored
1d3cf79
View commit details
Copy full SHA for 1d3cf79
View code at this point
Browse repository at this point
Commits on Jun 20, 2024
gh-117511: Make PyMutex public in the non-limited API (#117731)
colesbury
authored
3af7263
View commit details
Copy full SHA for 3af7263
View code at this point
Browse repository at this point
Commits on Jun 6, 2024
gh-117657: Fix TSAN race involving import lock (#118523)
Show description for e21057b
colesbury
authored
e21057b
View commit details
Copy full SHA for e21057b
View code at this point
Browse repository at this point
Commits on May 5, 2024
gh-110850: Remove _PyTime_TimeUnchecked() function (#118552)
Show description for aa61f8b
vstinner
authored
aa61f8b
View commit details
Copy full SHA for aa61f8b
View code at this point
Browse repository at this point
Commits on Apr 30, 2024
gh-118332: Fix deadlock involving stop the world (#118412)
Show description for b2c3b70
colesbury
authored
b2c3b70
View commit details
Copy full SHA for b2c3b70
View code at this point
Browse repository at this point
Commits on Apr 17, 2024
gh-117657: Quiet erroneous TSAN reports of data races in `_PySeqLock` (#117955)
Show description for 0d29302
mpage
authored
0d29302
View commit details
Copy full SHA for 0d29302
View code at this point
Browse repository at this point
Commits on Mar 16, 2024
gh-114271: Fix race in `Thread.join()` (#114839)
Show description for 33da0e8
3 people
authored
33da0e8
View commit details
Copy full SHA for 33da0e8
View code at this point
Browse repository at this point
Commits on Mar 1, 2024
gh-114271: Make `_thread.ThreadHandle` thread-safe in free-threaded builds (GH-115190)
Show description for 9e88173
mpage
authored
9e88173
View commit details
Copy full SHA for 9e88173
View code at this point
Browse repository at this point
Commits on Feb 20, 2024
gh-110850: Rename internal PyTime C API functions (#115734)
Show description for 52d1477
vstinner
authored
52d1477
View commit details
Copy full SHA for 52d1477
View code at this point
Browse repository at this point
gh-110850: Cleanup pycore_time.h includes (#115724)
Show description for d207c7c
vstinner
authored
d207c7c
View commit details
Copy full SHA for d207c7c
View code at this point
Browse repository at this point
gh-110850: Replace _PyTime_t with PyTime_t (#115719)
Show description for 9af80ec
vstinner
authored
9af80ec
View commit details
Copy full SHA for 9af80ec
View code at this point
Browse repository at this point
Commits on Feb 15, 2024
gh-113743: Make the MRO cache thread-safe in free-threaded builds (#113930)
Show description for ae460d4
DinoV
authored
ae460d4
View commit details
Copy full SHA for ae460d4
View code at this point
Browse repository at this point
Commits on Dec 16, 2023
gh-111964: Add _PyRWMutex a "readers-writer" lock (gh-112859)
Show description for 5ae75e1
colesbury
authored
5ae75e1
View commit details
Copy full SHA for 5ae75e1
View code at this point
Browse repository at this point
Commits on Nov 20, 2023
gh-111863: Rename `Py_NOGIL` to `Py_GIL_DISABLED` (#111864)
Show description for 3b3ec0d
hugovk
authored
3b3ec0d
View commit details
Copy full SHA for 3b3ec0d
View code at this point
Browse repository at this point
Commits on Nov 16, 2023
gh-111956: Add thread-safe one-time initialization. (gh-111960)
colesbury
authored
446f18a
View commit details
Copy full SHA for 446f18a
View code at this point
Browse repository at this point
Commits on Sep 19, 2023
gh-108724: Add PyMutex and _PyParkingLot APIs (gh-109344)
Show description for 0c89056
colesbury
and
ericsnowcurrently
authored
0c89056
View commit details
Copy full SHA for 0c89056
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.