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.6k
(2.6k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Lib
token.py
on
3.9
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 7, 2019
bpo-35975: Support parsing earlier minor versions of Python 3 (GH-12086)
Show description for 495da29
gvanrossum
authored and
miss-islington
committed
495da29
View commit details
Copy full SHA for 495da29
View code at this point
Browse repository at this point
Commits on Jan 31, 2019
bpo-35766: Merge typed_ast back into CPython (GH-11645)
gvanrossum
authored and
ambv
committed
dcfcd14
View commit details
Copy full SHA for dcfcd14
View code at this point
Browse repository at this point
Commits on Jan 24, 2019
bpo-35224: PEP 572 Implementation (#10497)
Show description for 8f59ee0
emilyemorehouse
authored
8f59ee0
View commit details
Copy full SHA for 8f59ee0
View code at this point
Browse repository at this point
Commits on Dec 22, 2018
bpo-30455: Generate all token related code and docs from Grammar/Tokens. (GH-10370)
Show description for 8ac6581
serhiy-storchaka
authored
8ac6581
View commit details
Copy full SHA for 8ac6581
View code at this point
Browse repository at this point
Commits on Apr 11, 2018
bpo-33260: Regenerate token.py after removing ASYNC and AWAIT. (GH-6447)
serhiy-storchaka
authored
d08972f
View commit details
Copy full SHA for d08972f
View code at this point
Browse repository at this point
Commits on May 31, 2017
bpo-25324: copy tok_name before changing it (#1608)
Show description for fc354f0
albertjan
authored and
vstinner
committed
fc354f0
View commit details
Copy full SHA for fc354f0
View code at this point
Browse repository at this point
Commits on May 12, 2015
PEP 0492 -- Coroutines with async and await syntax. Issue #24017.
Yury Selivanov
committed
7544508
View commit details
Copy full SHA for 7544508
View code at this point
Browse repository at this point
Commits on Apr 4, 2015
Issue #22831: Use "with" to avoid possible fd leaks.
serhiy-storchaka
committed
46ba6c8
View commit details
Copy full SHA for 46ba6c8
View code at this point
Browse repository at this point
Commits on Apr 10, 2014
PEP 465: a dedicated infix operator for matrix multiplication (closes #21176)
benjaminp
committed
d51374e
View commit details
Copy full SHA for d51374e
View code at this point
Browse repository at this point
Commits on Jan 16, 2014
Issue #19936: Added executable bits or shebang lines to Python scripts which
Show description for 8f8ec92
serhiy-storchaka
committed
8f8ec92
View commit details
Copy full SHA for 8f8ec92
View code at this point
Browse repository at this point
Issue #19936: Added executable bits or shebang lines to Python scripts which
Show description for b992a0e
serhiy-storchaka
committed
b992a0e
View commit details
Copy full SHA for b992a0e
View code at this point
Browse repository at this point
Commits on Dec 25, 2012
Replace IOError with OSError (#16715)
asvetlov
committed
f7a17b4
View commit details
Copy full SHA for f7a17b4
View code at this point
Browse repository at this point
Commits on May 17, 2012
Issue #9260: A finer-grained import lock.
Show description for ea3eb88
pitrou
committed
ea3eb88
View commit details
Copy full SHA for ea3eb88
View code at this point
Browse repository at this point
Commits on Jan 16, 2012
Issue #13629: Renumber the tokens in token.h to match the _PyParser_TokenNames indexes.
meadori
committed
3388060
View commit details
Copy full SHA for 3388060
View code at this point
Browse repository at this point
Commits on Nov 29, 2011
Fix instructions on how to rebuild some modules
merwok
committed
e1886bf
View commit details
Copy full SHA for e1886bf
View code at this point
Browse repository at this point
Commits on Nov 11, 2010
Issue #10386: Added __all__ to token module; this simplifies importing
Show description for b9d10d0
abalkin
committed
b9d10d0
View commit details
Copy full SHA for b9d10d0
View code at this point
Browse repository at this point
Commits on Mar 11, 2010
convert shebang lines: python -> python3
benjaminp
committed
90f5ba5
View commit details
Copy full SHA for 90f5ba5
View code at this point
Browse repository at this point
Commits on Feb 26, 2008
Merged revisions 61038,61042-61045,61047,61050,61053,61055-61056,61061-61064,61066-61080 via svnmerge from
Show description for 836baa5
tiran
committed
836baa5
View commit details
Copy full SHA for 836baa5
View code at this point
Browse repository at this point
Commits on Mar 18, 2007
Make ELLIPSIS a separate token. This makes it a syntax error to write ". . ." for Ellipsis.
birkenfeld
committed
dde0028
View commit details
Copy full SHA for dde0028
View code at this point
Browse repository at this point
Commits on Feb 26, 2007
Use better idiom to sort keys.
gvanrossum
committed
c145ef3
View commit details
Copy full SHA for c145ef3
View code at this point
Browse repository at this point
Fix token.py main code vs. dict views.
birkenfeld
committed
b79b781
View commit details
Copy full SHA for b79b781
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 Jan 10, 2007
SF patch 1631942 by Collin Winter:
Show description for b940e11
gvanrossum
committed
b940e11
View commit details
Copy full SHA for b940e11
View code at this point
Browse repository at this point
Commits on Dec 28, 2006
PEP 3107 - Function Annotations thanks to Tony Lownds
nnorwitz
committed
c150536
View commit details
Copy full SHA for c150536
View code at this point
Browse repository at this point
Commits on Aug 29, 2006
Get rid of some more cases of backquotes. parsermodule.c doesn't compile
Show description for 2eca440
nnorwitz
committed
2eca440
View commit details
Copy full SHA for 2eca440
View code at this point
Browse repository at this point
Commits on Aug 2, 2004
PEP-0318, @decorator-style. In Guido's words:
Show description for c2a5a63
anthonybaxter
committed
c2a5a63
View commit details
Copy full SHA for c2a5a63
View code at this point
Browse repository at this point
Commits on Oct 3, 2002
Updates to track Grammar changes. The patch to token.py loosens the regexp to
Show description for adf1606
Michael W. Hudson
committed
adf1606
View commit details
Copy full SHA for adf1606
View code at this point
Browse repository at this point
Commits on Aug 13, 2001
Remove redundant 'import string' (PyChecker).
gvanrossum
committed
8f15bd8
View commit details
Copy full SHA for 8f15bd8
View code at this point
Browse repository at this point
Commits on Aug 8, 2001
Regenerated token.py to account for new DOUBLESLASH and DOUBLESLASHEQUAL.
tim-one
committed
a38d260
View commit details
Copy full SHA for a38d260
View code at this point
Browse repository at this point
Commits on Feb 10, 2001
String method cleanup.
eric-s-raymond
committed
6e025bc
View commit details
Copy full SHA for 6e025bc
View code at this point
Browse repository at this point
Commits on Feb 9, 2001
String method conversion.
eric-s-raymond
committed
b08b2d3
View commit details
Copy full SHA for b08b2d3
View code at this point
Browse repository at this point
Commits on Aug 24, 2000
Update for augmented assignment.
Yhg1s
committed
3405262
View commit details
Copy full SHA for 3405262
View code at this point
Browse repository at this point
Commits on Feb 4, 2000
The third and final doc-string sweep by Ka-Ping Yee.
Show description for e7b146f
gvanrossum
committed
e7b146f
View commit details
Copy full SHA for e7b146f
View code at this point
Browse repository at this point
Commits on Mar 26, 1998
Mass check-in after untabifying all files that need it.
gvanrossum
committed
45e2fbc
View commit details
Copy full SHA for 45e2fbc
View code at this point
Browse repository at this point
Commits on Oct 22, 1997
Convert all remaining *simple* cases of regex usage to re usage.
gvanrossum
committed
9694fca
View commit details
Copy full SHA for 9694fca
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.