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
parser.c
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-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: 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: 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
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 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 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 Apr 23, 2026
gh-145239: Accept unary plus literal pattern (#148566)
Show description for 448d7b9
johnslavik
authored
448d7b9
View commit details
Copy full SHA for 448d7b9
View code at this point
Browse repository at this point
Commits on Mar 13, 2026
gh-145783: Propagate errors raised in `NEW_TYPE_COMMENT` (#145784)
StanFromIreland
authored
e1c2246
View commit details
Copy full SHA for e1c2246
View code at this point
Browse repository at this point
Commits on Feb 28, 2026
gh-145241: specialize SyntaxError for single trailing-comma with item (#145282)
Show description for 09e8c38
pablogsal
and
johnslavik
authored
09e8c38
View commit details
Copy full SHA for 09e8c38
View code at this point
Browse repository at this point
Commits on Feb 12, 2026
gh-142349: Implement PEP 810 - Explicit lazy imports (#142351)
Show description for 46d5106
4 people
authored
46d5106
View commit details
Copy full SHA for 46d5106
View code at this point
Browse repository at this point
Commits on Jan 31, 2026
gh-143055: Implementation of PEP 798 (#143056)
Show description for ccbe41e
adqm
and
JelleZijlstra
authored
ccbe41e
View commit details
Copy full SHA for ccbe41e
View code at this point
Browse repository at this point
Commits on Dec 11, 2025
gh-142236: Improve error location for missing comma in string concatenations (#142330)
pablogsal
authored
c433986
View commit details
Copy full SHA for c433986
View code at this point
Browse repository at this point
Commits on Nov 27, 2025
gh-130396: Remove _Py_ReachedRecursionLimitWithMargin() function (#141951)
Show description for 7fe1a18
vstinner
authored
7fe1a18
View commit details
Copy full SHA for 7fe1a18
View code at this point
Browse repository at this point
Commits on Oct 26, 2025
gh-138944: Fix `SyntaxError` message for invalid syntax following valid import-as statement (#138945)
brianschubert
authored
3dab11f
View commit details
Copy full SHA for 3dab11f
View code at this point
Browse repository at this point
Commits on Oct 24, 2025
gh-138857: Improve error message for `case` outside of `match` (#138858)
Show description for 92c0c45
sobolevn
and
johnslavik
authored
92c0c45
View commit details
Copy full SHA for 92c0c45
View code at this point
Browse repository at this point
Commits on Oct 22, 2025
gh-140253: Improve the syntax error from an ill-positioned double-star subpattern (#140254)
johnslavik
authored
b3b0d75
View commit details
Copy full SHA for b3b0d75
View code at this point
Browse repository at this point
Commits on Sep 10, 2025
gh-138716: Fix `assert a := b` syntax error message (#138718)
sobolevn
authored
cf8f36f
View commit details
Copy full SHA for cf8f36f
View code at this point
Browse repository at this point
Commits on Sep 9, 2025
gh-136616: Improve `assert` syntax error messages (#136653)
sobolevn
authored
6bc65c3
View commit details
Copy full SHA for 6bc65c3
View code at this point
Browse repository at this point
Commits on Aug 15, 2025
gh-137078: Fix keyword typo recognition when executed over files (#137079)
pablogsal
authored
4e08a9f
View commit details
Copy full SHA for 4e08a9f
View code at this point
Browse repository at this point
Commits on Jul 21, 2025
gh-132661: Disallow `Template`/`str` concatenation after PEP 750 spec update (#135996)
Show description for c5e77af
3 people
authored
c5e77af
View commit details
Copy full SHA for c5e77af
View code at this point
Browse repository at this point
Commits on Jun 30, 2025
gh-135422: Fix regression in `SyntaxError` messages after #134036 (#135423)
sobolevn
authored
7e33558
View commit details
Copy full SHA for 7e33558
View code at this point
Browse repository at this point
Commits on Jun 10, 2025
gh-133157: remove usage of `_Py_NO_SANITIZE_UNDEFINED` in `Parser/pegen.c` (#134048)
picnixz
authored
754e7c9
View commit details
Copy full SHA for 754e7c9
View code at this point
Browse repository at this point
Commits on Jun 6, 2025
gh-134036: Improve error messages for invalid `raise` statements (#134077)
sobolevn
authored
0d9ccc8
View commit details
Copy full SHA for 0d9ccc8
View code at this point
Browse repository at this point
Commits on Jun 3, 2025
gh-135028: Increase parser MAXSTACK for nested parenthesis (#135031)
vstinner
authored
6e80f11
View commit details
Copy full SHA for 6e80f11
View code at this point
Browse repository at this point
Commits on May 17, 2025
gh-133999: Fix `except` parsing regression in 3.14 (#134035)
sobolevn
authored
84914ad
View commit details
Copy full SHA for 84914ad
View code at this point
Browse repository at this point
Commits on May 10, 2025
gh-133379: Fix misuse of the term "arguments" in error messages (GH-133382)
Show description for dbca27c
StanFromIreland
authored
dbca27c
View commit details
Copy full SHA for dbca27c
View code at this point
Browse repository at this point
Commits on May 3, 2025
gh-133194: Fix regression with PEP 758 parsing on older `feature_version` (#133289)
Show description for ca0a96d
sobolevn
authored
ca0a96d
View commit details
Copy full SHA for ca0a96d
View code at this point
Browse repository at this point
Commits on May 2, 2025
gh-123539: Improve SyntaxError msg for `import as` with not a name (#123629)
sobolevn
authored
a6ddd07
View commit details
Copy full SHA for a6ddd07
View code at this point
Browse repository at this point
Commits on May 1, 2025
gh-133196: Guard PEP 750 grammar with `CHECK_VERSION` (#133225)
sobolevn
authored
5cdd49b
View commit details
Copy full SHA for 5cdd49b
View code at this point
Browse repository at this point
Commits on Apr 30, 2025
gh-133194: Add `CHECK_VERSION` to new PEP758 grammar (#133195)
sobolevn
authored
b1f8938
View commit details
Copy full SHA for b1f8938
View code at this point
Browse repository at this point
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 Apr 25, 2025
gh-129858: Special syntax error for `elif` block after `else` (#129902)
swfarnsworth
authored
99b71ef
View commit details
Copy full SHA for 99b71ef
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.