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
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.4k
(2.4k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Lib
_threading_local.py
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Dec 8, 2025
Fix pyflakes warnings: variable is assigned to but never used (#142294)
Show description for 0b8c348
vstinner
authored
0b8c348
View commit details
Copy full SHA for 0b8c348
View code at this point
Browse repository at this point
Commits on May 5, 2025
gh-107006: Move `threading.local` docstring to docs (#131840)
Show description for b97328e
lysnikolaou
and
hugovk
authored
b97328e
View commit details
Copy full SHA for b97328e
View code at this point
Browse repository at this point
Commits on Jun 1, 2019
bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)
serhiy-storchaka
authored
2085bd0
View commit details
Copy full SHA for 2085bd0
View code at this point
Browse repository at this point
Commits on Feb 25, 2018
Delete a broken threading.local example (#5870)
Show description for 5fb632e
habnabit
authored and
alex
committed
5fb632e
View commit details
Copy full SHA for 5fb632e
View code at this point
Browse repository at this point
Commits on Sep 7, 2010
Issue #9707: Rewritten reference implementation of threading.local which
Show description for 783eea7
pitrou
committed
783eea7
View commit details
Copy full SHA for 783eea7
View code at this point
Browse repository at this point
Commits on Aug 28, 2010
Issue #1868: Eliminate subtle timing issues in thread-local objects by
Show description for 1a9a9d5
pitrou
committed
1a9a9d5
View commit details
Copy full SHA for 1a9a9d5
View code at this point
Browse repository at this point
Commits on Feb 22, 2010
fixes issue #1522237, bad init check in _threading_local
jackdied
committed
561d5aa
View commit details
Copy full SHA for 561d5aa
View code at this point
Browse repository at this point
Commits on Nov 5, 2009
Merged revisions 76117 via svnmerge from
Show description for bdec11f
pitrou
committed
bdec11f
View commit details
Copy full SHA for bdec11f
View code at this point
Browse repository at this point
Commits on Jun 11, 2008
Merged revisions 64125 via svnmerge from
Show description for 672b803
benjaminp
committed
672b803
View commit details
Copy full SHA for 672b803
View code at this point
Browse repository at this point
Commits on Feb 11, 2007
- PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone;
Show description for cc2b016
gvanrossum
committed
cc2b016
View commit details
Copy full SHA for cc2b016
View code at this point
Browse repository at this point
Commits on Apr 21, 2006
Merge p3yk branch with the trunk up to revision 45595. This breaks a fair
Show description for 49fd7fa
Yhg1s
committed
49fd7fa
View commit details
Copy full SHA for 49fd7fa
View code at this point
Browse repository at this point
Commits on Nov 25, 2005
Fix some comment typos
nnorwitz
committed
7025ce6
View commit details
Copy full SHA for 7025ce6
View code at this point
Browse repository at this point
Commits on Jul 18, 2004
Whitespace normalization, via reindent.py.
tim-one
committed
182b5ac
View commit details
Copy full SHA for 182b5ac
View code at this point
Browse repository at this point
Commits on Jul 15, 2004
Typo fixes
akuchling
committed
3fc2fde
View commit details
Copy full SHA for 3fc2fde
View code at this point
Browse repository at this point
Commits on Jul 14, 2004
Implemented thread-local data as proposed on python-dev:
Show description for d15dc06
Jim Fulton
committed
d15dc06
View commit details
Copy full SHA for d15dc06
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.