Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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
parser.c
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 25, 2026
gh-152631: Fix `ast.parse` on lazy imports with older `feature_version` (#152632)
sobolevn
authored
7b12a41
View commit details
Copy full SHA for 7b12a41
View code at this point
Browse repository at this point
Commits on Oct 23, 2026
gh-153568: Skip the expression precedence chain for single-token atoms (#153575)
Show description for b77cb89
pablogsal
and
lysnikolaou
authored
b77cb89
View commit details
Copy full SHA for b77cb89
View code at this point
Browse repository at this point
gh-153195: Allow splitting the PEG grammar into several files (#159917)
Show description for e548b47
lysnikolaou
authored
e548b47
View commit details
Copy full SHA for e548b47
View code at this point
Browse repository at this point
Commits on Oct 22, 2026
gh-160284: Number each keyword once in the PEG generator (#160290)
Show description for 0b8bb71
lysnikolaou
authored
0b8bb71
View commit details
Copy full SHA for 0b8bb71
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 25, 2026
gh-151464: exclude '<>' token from tokenize output (#154854)
Show description for 198bc76
skirpichev
authored
198bc76
View commit details
Copy full SHA for 198bc76
View code at this point
Browse repository at this point
Commits on Sep 24, 2026
gh-152708: Fix AST generation asymmetry for unary positive in match statements (#152712)
Show description for 7884f48
3 people
authored
7884f48
View commit details
Copy full SHA for 7884f48
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 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
Previous
Next
You can’t perform that action at this time.