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 }}
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.7k
Star
77.2k
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
Parser
on
main
User selector
All users
Datepicker
All time
Commit history
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 15, 2026
gh-156909: Fix `AST.__repr__` call getting the `_fields` attribute (GH-157490)
johnslavik
authored
1bfcc3c
View commit details
Copy full SHA for 1bfcc3c
View code at this point
Browse repository at this point
gh-153568: Reuse shared prefixes in generated parser rules (#157465)
pablogsal
authored
89fe985
View commit details
Copy full SHA for 89fe985
View code at this point
Browse repository at this point
Commits on Sep 14, 2026
gh-153568: Don't materialize parser token text that is never read (#153576)
Show description for e5fbabb
pablogsal
and
maurycy
authored
e5fbabb
View commit details
Copy full SHA for e5fbabb
View code at this point
Browse repository at this point
gh-153568: Share expression parsing with assignment targets (#157450)
Show description for c3f2373
pablogsal
authored
c3f2373
View commit details
Copy full SHA for c3f2373
View code at this point
Browse repository at this point
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-153568: Make the parser's per-rule stack check an inline comparison (#153573)
Show description for f88d668
pablogsal
authored
f88d668
View commit details
Copy full SHA for f88d668
View code at this point
Browse repository at this point
gh-153568: Stop re-walking memo lists when growing left-recursive rules (#153574)
Show description for ac86e12
pablogsal
authored
ac86e12
View commit details
Copy full SHA for ac86e12
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
gh-156021: Don't include `...` for empty AST node representations (GH-156022)
johnslavik
authored
b62380f
View commit details
Copy full SHA for b62380f
View code at this point
Browse repository at this point
Commits on Sep 13, 2026
gh-154719: Preserve trailing whitespace in t-string interpolation expressions (#154762)
lpyu001
authored
1a703ab
View commit details
Copy full SHA for 1a703ab
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 31, 2026
gh-156689: Fix out-of-bounds read in `PyAst_CheckMode()` for `mode='func_type'` (#156697)
StanFromIreland
authored
d7f9c64
View commit details
Copy full SHA for d7f9c64
View code at this point
Browse repository at this point
Commits on Aug 29, 2026
gh-72353: Continue reading from the console after ignored Ctrl+C (GH-155434)
Show description for c922aa0
3 people
authored
c922aa0
View commit details
Copy full SHA for c922aa0
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 Aug 14, 2026
gh-155742: Get PyBytes_AS_STRING() as `const char*` (#155751)
Show description for 079dd5e
vstinner
authored
079dd5e
View commit details
Copy full SHA for 079dd5e
View code at this point
Browse repository at this point
Commits on Jul 28, 2026
gh-154775: Don't accept duplicate plus sign when matching complex number (GH-154776)
Show description for a85830c
encukou
and
johnslavik
authored
a85830c
View commit details
Copy full SHA for a85830c
View code at this point
Browse repository at this point
Commits on Jul 18, 2026
gh-153568: Skip parser memo lookups that cannot match (#153571)
Show description for d49e76b
pablogsal
authored
d49e76b
View commit details
Copy full SHA for d49e76b
View code at this point
Browse repository at this point
gh-153568: Cache repeated identifiers while parsing (#153577)
pablogsal
authored
a0c6c4c
View commit details
Copy full SHA for a0c6c4c
View code at this point
Browse repository at this point
Commits on Jul 11, 2026
gh-153569: Split tokenizer lexer into focused files (#153585)
pablogsal
authored
a2d3787
View commit details
Copy full SHA for a2d3787
View code at this point
Browse repository at this point
Commits on Jul 6, 2026
gh-153171: Produce specialized syntax errors for 'not' after an operator in more positions (GH-153175)
Show description for 1034e73
serhiy-storchaka
and
claude
authored
1034e73
View commit details
Copy full SHA for 1034e73
View code at this point
Browse repository at this point
Commits on Jul 4, 2026
gh-150459: Fix `SyntaxError` message for `from x lazy import y` (#150877)
sobolevn
authored
ec5f154
View commit details
Copy full SHA for ec5f154
View code at this point
Browse repository at this point
Commits on Jul 2, 2026
gh-151763: Fix OOM-0013 crash when the parser or compiler fails to allocate (#151968)
tonghuaroot
authored
669299b
View commit details
Copy full SHA for 669299b
View code at this point
Browse repository at this point
Commits on Jun 29, 2026
gh-149689: add missing error checks in Parser/action_helpers.c (#149710)
KowalskiThomas
authored
2dd6e59
View commit details
Copy full SHA for 2dd6e59
View code at this point
Browse repository at this point
gh-82312: Further improvement of error messages for generating AST nodes (GH-150912)
Show description for bc3fa17
serhiy-storchaka
authored
bc3fa17
View commit details
Copy full SHA for bc3fa17
View code at this point
Browse repository at this point
Commits on Jun 27, 2026
gh-146495: Improve `SyntaxError` message for `&&` and `||` operators (#150906)
Aniketsy
authored
0f501b9
View commit details
Copy full SHA for 0f501b9
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 11, 2026
gh-151238: Check for `_get_resized_exprs` failure in `_PyPegen_{joined,template}_str` (#151259)
StanFromIreland
authored
4b44b1e
View commit details
Copy full SHA for 4b44b1e
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 Jun 4, 2026
bpo-38131: Improve messages when generating AST nodes from objects with wrong field values (GH-17715)
isidentical
authored
3ff2117
View commit details
Copy full SHA for 3ff2117
View code at this point
Browse repository at this point
Commits on May 2, 2026
gh-116021: Deprecate support for instantiating abstract AST nodes (#137865)
Show description for bdedc4a
3 people
authored
bdedc4a
View commit details
Copy full SHA for bdedc4a
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.