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
Accelerator
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 }}
aaronsgithub
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Parser
parser.c
on
main
User selector
All users
All time
Commit history
Commits on Sep 17, 2022
gh-91210: Improve error message when non-default param follows default (GH-95933)
Show description for 7e36abb
lysnikolaou
authored
7e36abb
View commit details
Copy full SHA for 7e36abb
View code at this point
Browse repository at this point
Commits on Sep 5, 2022
gh-96587: Raise `SyntaxError` for PEP654 on older `feature_version` (#96588)
sobolevn
authored
2c7d2e8
View commit details
Copy full SHA for 2c7d2e8
View code at this point
Browse repository at this point
Commits on Aug 12, 2022
gh-94996: Disallow lambda pos only params with feature_version < (3, 8) (GH-95934)
hauntsaninja
authored
a965db3
View commit details
Copy full SHA for a965db3
View code at this point
Browse repository at this point
gh-94996: Disallow parsing pos only params with feature_version < (3, 8) (GH-94997)
hauntsaninja
authored
b5e3ea2
View commit details
Copy full SHA for b5e3ea2
View code at this point
Browse repository at this point
Commits on Jul 18, 2022
gh-94949: Disallow parsing parenthesised ctx mgr with old feature_version (#94950)
Show description for 0daba82
hauntsaninja
and
blurb-it[bot]
authored
0daba82
View commit details
Copy full SHA for 0daba82
View code at this point
Browse repository at this point
gh-94947: Disallow parsing walrus with feature_version < (3, 8) (#94948)
Show description for ae0be5a
hauntsaninja
and
blurb-it[bot]
authored
ae0be5a
View commit details
Copy full SHA for ae0be5a
View code at this point
Browse repository at this point
Commits on Jun 26, 2022
gh-94192: Fix error for dictionary literals with invalid expression as value. (#94304)
Show description for 8c237a7
wookie184
authored
8c237a7
View commit details
Copy full SHA for 8c237a7
View code at this point
Browse repository at this point
Commits on Jun 23, 2022
gh-92858: Improve error message for some suites with syntax error before ':' (#92894)
wookie184
authored
2fc83ac
View commit details
Copy full SHA for 2fc83ac
View code at this point
Browse repository at this point
Commits on Jun 10, 2022
gh-93671: Avoid exponential backtracking in deeply nested sequence patterns in match statements (GH-93680)
Show description for 53a8b17
pablogsal
and
ambv
authored
53a8b17
View commit details
Copy full SHA for 53a8b17
View code at this point
Browse repository at this point
Commits on May 24, 2022
gh-93103: Parser uses PyConfig.parser_debug instead of Py_DebugFlag (#93106)
Show description for 5115a16
vstinner
authored
5115a16
View commit details
Copy full SHA for 5115a16
View code at this point
Browse repository at this point
Commits on May 19, 2022
gh-90473: Decrease recursion limit and skip tests on WASI (GH-92803)
tiran
authored
137fd3d
View commit details
Copy full SHA for 137fd3d
View code at this point
Browse repository at this point
Commits on Apr 5, 2022
bpo-47212: Improve error messages for un-parenthesized generator expressions (GH-32302)
MatthieuDartiailh
authored
aa0f056
View commit details
Copy full SHA for aa0f056
View code at this point
Browse repository at this point
Commits on Mar 26, 2022
bpo-43224: Implement PEP 646 grammar changes (GH-31018)
Show description for e8e737b
mrahtz
and
JelleZijlstra
authored
e8e737b
View commit details
Copy full SHA for e8e737b
View code at this point
Browse repository at this point
Commits on Mar 22, 2022
bpo-46838: Syntax error improvements for function definitions (GH-31590)
pablogsal
authored
7d810b6
View commit details
Copy full SHA for 7d810b6
View code at this point
Browse repository at this point
Commits on Feb 10, 2022
Allow the parser to avoid nested processing of invalid rules (GH-31252)
pablogsal
authored
390459d
View commit details
Copy full SHA for 390459d
View code at this point
Browse repository at this point
bpo-46707: Avoid potential exponential backtracking in some syntax errors (GH-31241)
pablogsal
authored
b71dc71
View commit details
Copy full SHA for b71dc71
View code at this point
Browse repository at this point
Commits on Jan 3, 2022
bpo-46110: Restore commit e9898bf153d26059261ffef11f7643ae991e2a4c
Show description for dd6c357
pablogsal
authored
dd6c357
View commit details
Copy full SHA for dd6c357
View code at this point
Browse repository at this point
Revert "bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser (GH-30177)" (GH-30363)
Show description for 9d35ded
pablogsal
authored
9d35ded
View commit details
Copy full SHA for 9d35ded
View code at this point
Browse repository at this point
Commits on Dec 20, 2021
bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser (GH-30177)
Show description for e9898bf
pablogsal
and
isidentical
authored
e9898bf
View commit details
Copy full SHA for e9898bf
View code at this point
Browse repository at this point
Commits on Dec 14, 2021
bpo-45292: [PEP-654] add except* (GH-29581)
iritkatriel
authored
d60457a
View commit details
Copy full SHA for d60457a
View code at this point
Browse repository at this point
Commits on Nov 26, 2021
bpo-45866: pegen strips directory of "generated from" header (GH-29777)
Show description for 253b7a0
vstinner
authored
253b7a0
View commit details
Copy full SHA for 253b7a0
View code at this point
Browse repository at this point
Commits on Nov 24, 2021
bpo-45727: Only trigger the 'did you forgot a comma' error suggestion if inside parentheses (GH-29757)
pablogsal
authored
24c10d2
View commit details
Copy full SHA for 24c10d2
View code at this point
Browse repository at this point
Commits on Nov 20, 2021
bpo-45450: Improve syntax error for parenthesized arguments (GH-28906)
pablogsal
authored
7a1d932
View commit details
Copy full SHA for 7a1d932
View code at this point
Browse repository at this point
Commits on Nov 19, 2021
bpo-45727: Make the syntax error for missing comma more consistent (GH-29427)
pablogsal
authored
546cefc
View commit details
Copy full SHA for 546cefc
View code at this point
Browse repository at this point
Commits on Nov 9, 2021
bpo-45764: improve error message when missing '(' after 'def' (GH-29484)
Show description for 2819e98
cfbolz
authored
2819e98
View commit details
Copy full SHA for 2819e98
View code at this point
Browse repository at this point
Commits on Nov 5, 2021
bpo-45716: Improve the error message when using True/False/None as keywords in a call (GH-29413)
pablogsal
authored
e2d6563
View commit details
Copy full SHA for e2d6563
View code at this point
Browse repository at this point
Commits on Nov 3, 2021
bpo-44257: fix "assigment_expr" typo + regenerate the grammar, and remove unused imports (GH-29393)
Show description for 762173c
wimglenn
authored
762173c
View commit details
Copy full SHA for 762173c
View code at this point
Browse repository at this point
Commits on Oct 19, 2021
bpo-45494: Fix parser crash when reporting errors involving invalid continuation characters (GH-28993)
Show description for a106343
pablogsal
authored
a106343
View commit details
Copy full SHA for a106343
View code at this point
Browse repository at this point
Commits on Sep 27, 2021
bpo-43914: Correctly highlight SyntaxError exceptions for invalid generator expression in function calls (GH-28576)
pablogsal
authored
e5f13ce
View commit details
Copy full SHA for e5f13ce
View code at this point
Browse repository at this point
Commits on Sep 5, 2021
Extract visitors from the grammar nodes and call makers in the peg generator (GH-28172)
Show description for b01fd53
pablogsal
authored
b01fd53
View commit details
Copy full SHA for b01fd53
View code at this point
Browse repository at this point
Commits on Aug 18, 2021
bpo-44947: Refine the syntax error for trailing commas in import statements (GH-27814)
pablogsal
authored
b2f68b1
View commit details
Copy full SHA for b2f68b1
View code at this point
Browse repository at this point
Commits on Aug 12, 2021
Update pegen to use the latest upstream developments (GH-27586)
pablogsal
authored
953d272
View commit details
Copy full SHA for 953d272
View code at this point
Browse repository at this point
Commits on Aug 5, 2021
bpo-44838: Refine the custom syntax errors for invalid 'if' expressions (GH-27615)
pablogsal
authored
f5cbea6
View commit details
Copy full SHA for f5cbea6
View code at this point
Browse repository at this point
Commits on Aug 2, 2021
bpo-44792: Improve syntax errors for if expressions (GH-27506)
miguendes
authored
28b6dc9
View commit details
Copy full SHA for 28b6dc9
View code at this point
Browse repository at this point
Commits on Aug 1, 2021
bpo-34013: Don't consider a grouped expression when reporting legacy print syntax errors (GH-27521)
pablogsal
authored
208a7e9
View commit details
Copy full SHA for 208a7e9
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.