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
Accelerator
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
Type
/
to 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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
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
35.2k
Star
74.3k
Code
Issues
5k+
Pull requests
2.5k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Modules
_threadmodule.c
on
main
User selector
All users
All time
Commit history
Commits on Aug 3, 2026
gh-154937: Fix `_thread._shutdown()` racing with `_thread.start_joinable_thread` on `ThreadHandle.ident` (#155085)
LindaSummer
authored
a4095ee
View commit details
Copy full SHA for a4095ee
View code at this point
Browse repository at this point
Commits on Jul 8, 2026
gh-153292: Fix data race in `threading.RLock.__repr__` in FT builds (#153299)
sobolevn
authored
1051384
View commit details
Copy full SHA for 1051384
View code at this point
Browse repository at this point
Commits on Jul 3, 2026
gh-152903: Change PCWSTR to PWSTR in GetThreadDescription() typedef (#152904)
Show description for ac1acb6
carlo-bramini
authored
ac1acb6
View commit details
Copy full SHA for ac1acb6
View code at this point
Browse repository at this point
Commits on May 24, 2026
gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338)
serhiy-storchaka
authored
287c98f
View commit details
Copy full SHA for 287c98f
View code at this point
Browse repository at this point
Commits on Apr 2, 2026
GH-145247: Use _PyTuple_FromPair in Modules (part 1) (#148000)
sergey-miryanov
authored
0c10066
View commit details
Copy full SHA for 0c10066
View code at this point
Browse repository at this point
Commits on Mar 24, 2026
gh-128341: Use _Py_ABI_SLOT in stdlib modules (#145770)
Show description for 1887a95
befeleme
and
vstinner
authored
1887a95
View commit details
Copy full SHA for 1887a95
View code at this point
Browse repository at this point
Commits on Jan 9, 2026
gh-143191: Use _PyOS_MIN_STACK_SIZE in _thread.stack_size() (#143601)
Show description for ba10100
vstinner
authored
ba10100
View commit details
Copy full SHA for ba10100
View code at this point
Browse repository at this point
Commits on Nov 12, 2025
GH-116946: revert eliminate the need for the GC in the `_thread.lock` and `_thread.RLock` (#141448)
Show description for f1b7961
kumaraditya303
authored
f1b7961
View commit details
Copy full SHA for f1b7961
View code at this point
Browse repository at this point
GH-116946: eliminate the need for the GC in the `_thread.lock` and `_thread.RLock` (#141268)
sergey-miryanov
authored
fbebca2
View commit details
Copy full SHA for fbebca2
View code at this point
Browse repository at this point
Commits on Oct 1, 2025
gh-116946: partial revert gh-139073 for thread handle type (#139474)
kumaraditya303
authored
76b07c0
View commit details
Copy full SHA for 76b07c0
View code at this point
Browse repository at this point
gh-116946: remove unnecessary gc from immutable types (#139073)
sergey-miryanov
authored
1588413
View commit details
Copy full SHA for 1588413
View code at this point
Browse repository at this point
Commits on Sep 18, 2025
gh-136003: Skip non-daemon threads when exceptions occur during finalization (GH-139129)
Show description for 3eec897
ZeroIntensity
authored
3eec897
View commit details
Copy full SHA for 3eec897
View code at this point
Browse repository at this point
gh-136003: Execute pre-finalization callbacks in a loop (GH-136004)
ZeroIntensity
authored
2191497
View commit details
Copy full SHA for 2191497
View code at this point
Browse repository at this point
Commits on Sep 15, 2025
gh-137017: Ensure `Thread.is_alive()` only returns False after the underlying OS thread exits (gh-137315)
abdoulrasheed
authored
aa9ceb1
View commit details
Copy full SHA for aa9ceb1
View code at this point
Browse repository at this point
Commits on Sep 2, 2025
gh-138004: Fix setting a thread name on OpenIndiana (GH-138017)
Show description for c19db1d
jadonduff
and
serhiy-storchaka
authored
c19db1d
View commit details
Copy full SHA for c19db1d
View code at this point
Browse repository at this point
Commits on Sep 1, 2025
gh-138342: Use a common utility for visiting an object's type (GH-138343)
Show description for 4f6ecd1
ZeroIntensity
authored
4f6ecd1
View commit details
Copy full SHA for 4f6ecd1
View code at this point
Browse repository at this point
Commits on Aug 15, 2025
gh-137808: use argument clinic for `_thread.lock` and `_thread.RLock` (#137809)
kumaraditya303
authored
31bbea1
View commit details
Copy full SHA for 31bbea1
View code at this point
Browse repository at this point
Commits on Jul 22, 2025
Revert "gh-112068: C API: Add support of nullable arguments in PyArg_Parse (GH-121303)" (#136991)
serhiy-storchaka
authored
3a89dfe
View commit details
Copy full SHA for 3a89dfe
View code at this point
Browse repository at this point
Commits on Jul 12, 2025
gh-136549: Fix signature of threading.excepthook() (GH-136559)
serhiy-storchaka
authored
be2c3d2
View commit details
Copy full SHA for be2c3d2
View code at this point
Browse repository at this point
Commits on Jul 1, 2025
gh-87135: threading.Lock: Raise rather than hang on Python finalization (GH-135991)
Show description for fe119a0
encukou
authored
fe119a0
View commit details
Copy full SHA for fe119a0
View code at this point
Browse repository at this point
Commits on Jun 30, 2025
gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614)
Show description for b1056c2
3 people
authored
b1056c2
View commit details
Copy full SHA for b1056c2
View code at this point
Browse repository at this point
Commits on May 28, 2025
gh-108512: Add and use new replacements for PySys_GetObject() (GH-111035)
Show description for bac3fcb
serhiy-storchaka
authored
bac3fcb
View commit details
Copy full SHA for bac3fcb
View code at this point
Browse repository at this point
Commits on May 23, 2025
gh-134381: Fix RuntimeError when starting not-yet started Thread after fork (gh-134514)
zangjiucheng
authored
9a2346d
View commit details
Copy full SHA for 9a2346d
View code at this point
Browse repository at this point
Commits on May 22, 2025
gh-134322: Fix `repr(threading.RLock)` (#134389)
Show description for fade146
YvesDup
authored
fade146
View commit details
Copy full SHA for fade146
View code at this point
Browse repository at this point
gh-134323: Fix the new `threading.RLock.locked` method (#134368)
Show description for 3effede
YvesDup
and
kumaraditya303
authored
3effede
View commit details
Copy full SHA for 3effede
View code at this point
Browse repository at this point
Commits on May 19, 2025
gh-134087: enforce signature of `threading.RLock` (#134178)
Show description for d6dc33e
picnixz
authored
d6dc33e
View commit details
Copy full SHA for d6dc33e
View code at this point
Browse repository at this point
Commits on Apr 28, 2025
gh-87135: Raise PythonFinalizationError when joining a blocked daemon thread (gh-130402)
Show description for 4ebbfcf
encukou
authored
4ebbfcf
View commit details
Copy full SHA for 4ebbfcf
View code at this point
Browse repository at this point
Commits on Apr 8, 2025
gh-112068: C API: Add support of nullable arguments in PyArg_Parse (GH-121303)
serhiy-storchaka
authored
f5f1ac8
View commit details
Copy full SHA for f5f1ac8
View code at this point
Browse repository at this point
gh-115942: Add `locked` to several multiprocessing locks (#115944)
Show description for f7305a0
3 people
authored
f7305a0
View commit details
Copy full SHA for f7305a0
View code at this point
Browse repository at this point
Commits on Mar 24, 2025
gh-111178: Fix function signature for test_threading (#131663)
vstinner
authored
78f1bac
View commit details
Copy full SHA for 78f1bac
View code at this point
Browse repository at this point
Commits on Mar 21, 2025
gh-131238: Remove pycore_object_deferred.h from pycore_object.h (#131549)
Show description for 1a08208
vstinner
authored
1a08208
View commit details
Copy full SHA for 1a08208
View code at this point
Browse repository at this point
gh-131268: Implement thread names on OpenBSD (#131528)
xavierog
authored
b70d45a
View commit details
Copy full SHA for b70d45a
View code at this point
Browse repository at this point
Commits on Mar 17, 2025
GH-131238: More refactoring of core header files (GH-131351)
Show description for a45f253
markshannon
authored
a45f253
View commit details
Copy full SHA for a45f253
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 13, 2025
gh-111178: Fix function signatures in misc files (#131180)
vstinner
authored
9a63138
View commit details
Copy full SHA for 9a63138
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.