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
Parser
tokenizer
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 18, 2026
gh-159465: Improve incomplete input detection (#159466)
Show description for 6af6553
pablogsal
authored
6af6553
View commit details
Copy full SHA for 6af6553
View code at this point
Browse repository at this point
Commits on Oct 13, 2026
gh-153569: Simplify tokenizer source views and reader ownership (#158849)
Show description for f892b11
pablogsal
authored
f892b11
View commit details
Copy full SHA for f892b11
View code at this point
Browse repository at this point
Commits on Oct 5, 2026
gh-153569: Simplify tokenizer state (#158124)
Show description for 0b8aa89
pablogsal
authored
0b8aa89
View commit details
Copy full SHA for 0b8aa89
View code at this point
Browse repository at this point
Commits on Sep 24, 2026
gh-153569: consolidate tokenizer input, layout, and diagnostics (#157055)
Show description for 2a96282
pablogsal
authored
2a96282
View commit details
Copy full SHA for 2a96282
View code at this point
Browse repository at this point
Commits on Sep 16, 2026
gh-153568: Reduce parser allocations (#157374)
pablogsal
authored
d8a1072
View commit details
Copy full SHA for d8a1072
View code at this point
Browse repository at this point
Commits on Sep 14, 2026
gh-153568: Skip newline translation for source without carriage returns (#153584)
Show description for 0d6671d
pablogsal
authored
0d6671d
View commit details
Copy full SHA for 0d6671d
View code at this point
Browse repository at this point
gh-157378: Fix SyntaxError.offset for "Non-UTF-8 code" error (#157412)
ashm-dev
authored
e66bec0
View commit details
Copy full SHA for e66bec0
View code at this point
Browse repository at this point
Commits on Sep 12, 2026
gh-153569: hide tokenizer state behind token and source operations (#156654)
Show description for 7bfa97f
pablogsal
authored
7bfa97f
View commit details
Copy full SHA for 7bfa97f
View code at this point
Browse repository at this point
Commits on Sep 8, 2026
gh-153569: centralize formatted-string state and source spans (#156484)
Show description for 2ddc218
pablogsal
authored
2ddc218
View commit details
Copy full SHA for 2ddc218
View code at this point
Browse repository at this point
Commits on Sep 6, 2026
gh-153569: return token spans and unify decoded source storage (#156482)
Show description for 09117bc
pablogsal
authored
09117bc
View commit details
Copy full SHA for 09117bc
View code at this point
Browse repository at this point
Commits on Sep 4, 2026
gh-156894: Fix the position of syntax errors which cover a range (GH-156901)
Show description for 59a6913
serhiy-storchaka
and
claude
authored
59a6913
View commit details
Copy full SHA for 59a6913
View code at this point
Browse repository at this point
Commits on Aug 28, 2026
gh-153569: Unify tokenizer input readers (#156472)
pablogsal
authored
f5dbcba
View commit details
Copy full SHA for f5dbcba
View code at this point
Browse repository at this point
Commits on Aug 26, 2026
gh-153569: Add tokenizer source and cursor primitives (#153587)
pablogsal
authored
f54fd2a
View commit details
Copy full SHA for f54fd2a
View code at this point
Browse repository at this point
Commits on Jun 14, 2026
gh-151461: Fix encoding-related exception handling in file tokenizer (GH-151462)
johnslavik
authored
f1a5f68
View commit details
Copy full SHA for f1a5f68
View code at this point
Browse repository at this point
Commits on Jun 6, 2026
gh-150207: Raise MemoryError on tokenizer allocation failure instead of crashing (#150275)
grantlouisherman
authored
262625f
View commit details
Copy full SHA for 262625f
View code at this point
Browse repository at this point
Commits on Feb 27, 2026
gh-145234: Normalize decoded CR in string tokenizer (#145281)
pablogsal
authored
98b1e51
View commit details
Copy full SHA for 98b1e51
View code at this point
Browse repository at this point
Commits on Feb 26, 2026
gh-144872: fix heap buffer overflow `_PyTokenizer_ensure_utf8` (#144807)
AdamKorcz
authored
3fc945d
View commit details
Copy full SHA for 3fc945d
View code at this point
Browse repository at this point
Commits on Jan 29, 2026
gh-144322: typo This errors to These errors (#144323)
cuiweixie
authored
0fa1fc6
View commit details
Copy full SHA for 0fa1fc6
View code at this point
Browse repository at this point
Commits on Nov 13, 2025
gh-135801: Add the module parameter to compile() etc (GH-139652)
Show description for d8e6bdc
serhiy-storchaka
authored
d8e6bdc
View commit details
Copy full SHA for d8e6bdc
View code at this point
Browse repository at this point
Commits on Oct 10, 2025
gh-63161: Fix PEP 263 support (GH-139481)
Show description for 5c942f1
serhiy-storchaka
authored
5c942f1
View commit details
Copy full SHA for 5c942f1
View code at this point
Browse repository at this point
Commits on Apr 30, 2025
gh-132661: Implement PEP 750 (#132662)
Show description for 6020260
10 people
authored
6020260
View commit details
Copy full SHA for 6020260
View code at this point
Browse repository at this point
Commits on Mar 17, 2025
gh-131238: Add explicit includes to pycore headers (#131257)
vstinner
authored
978e37b
View commit details
Copy full SHA for 978e37b
View code at this point
Browse repository at this point
Commits on Jan 30, 2025
gh-128911: Add PyImport_ImportModuleAttr() function (#128912)
Show description for 3bebe46
vstinner
authored
3bebe46
View commit details
Copy full SHA for 3bebe46
View code at this point
Browse repository at this point
Commits on Jan 15, 2025
gh-128016: Improved invalid escape sequence warning message (#128020)
umarbutler
authored
8d8b854
View commit details
Copy full SHA for 8d8b854
View code at this point
Browse repository at this point
Commits on Oct 12, 2023
GH-110749: fix unistd.h import in file_tokenizer.c (#110750)
FFY00
authored
2364542
View commit details
Copy full SHA for 2364542
View code at this point
Browse repository at this point
Commits on Oct 11, 2023
gh-104169: Refactor tokenizer into lexer and wrappers (#110684)
Show description for 01481f2
3 people
authored
01481f2
View commit details
Copy full SHA for 01481f2
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.