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
36.9k
Star
77.3k
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
Commits
Breadcrumbs
History for
cpython
Doc
c-api
threads.rst
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 24, 2026
gh-154757: Remove deprecated PyEval_InitThreads() function (#158037)
Show description for 8293654
vstinner
authored
8293654
View commit details
Copy full SHA for 8293654
View code at this point
Browse repository at this point
Commits on Jul 1, 2026
gh-144473: Add "steal" term to glossary; clarify "stealing" on error (GH-144502)
Show description for 34503f3
encukou
and
ZeroIntensity
authored
34503f3
View commit details
Copy full SHA for 34503f3
View code at this point
Browse repository at this point
Commits on Jun 30, 2026
gh-146219: Document reusing a thread state across repeated foreign-thread calls (GH-146221)
Show description for 5717518
gpshead
and
ZeroIntensity
authored
5717518
View commit details
Copy full SHA for 5717518
View code at this point
Browse repository at this point
Commits on May 28, 2026
Fix docs for PyThreadState_GetDict() in threads.rst (#150401)
manoj-marimuthu
authored
8a22450
View commit details
Copy full SHA for 8a22450
View code at this point
Browse repository at this point
Commits on May 7, 2026
Python 3.15.0b1
hugovk
committed
f31a89b
View commit details
Copy full SHA for f31a89b
View code at this point
Browse repository at this point
Commits on May 6, 2026
gh-149101: Implement PEP 788 (GH-149116)
Show description for 2b7c28a
3 people
authored
2b7c28a
View commit details
Copy full SHA for 2b7c28a
View code at this point
Browse repository at this point
Commits on Mar 10, 2026
Docs: Improve the C API documentation involving threads (GH-145520)
Show description for 7990313
ZeroIntensity
and
StanFromIreland
authored
7990313
View commit details
Copy full SHA for 7990313
View code at this point
Browse repository at this point
Commits on Mar 2, 2026
gh-144748: Make PyErr_CheckSignals raise the exception scheduled by PyThreadState_SetAsyncExc (GH-145178)
Show description for 3b276f3
encukou
and
ZeroIntensity
authored
3b276f3
View commit details
Copy full SHA for 3b276f3
View code at this point
Browse repository at this point
Commits on Feb 20, 2026
gh-141811: Split up `init.rst` into multiple pages (GH-144844)
Show description for 60f3c39
3 people
authored
60f3c39
View commit details
Copy full SHA for 60f3c39
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.