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 }}
wrongnull
/
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
Grammar
on
shared-testcase
User selector
All users
Datepicker
All time
Commit history
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 9, 2022
bpo-46272: Fix two heading comments in python.gram (GH-30499)
Show description for 1bee9a4
mdickinson
authored
1bee9a4
View commit details
Copy full SHA for 1bee9a4
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 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 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 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 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
Commits on Jul 31, 2021
Divide the grammar into sections to improve readability (GH-27502)
pablogsal
authored
302cf35
View commit details
Copy full SHA for 302cf35
View code at this point
Browse repository at this point
Commits on Jul 27, 2021
bpo-34013: Move the Python 2 hints from the exception constructor to the parser (GH-27392)
pablogsal
authored
ecc3c8e
View commit details
Copy full SHA for ecc3c8e
View code at this point
Browse repository at this point
bpo-34013: Generalize the invalid legacy statement error message (GH-27389)
pablogsal
authored
6948964
View commit details
Copy full SHA for 6948964
View code at this point
Browse repository at this point
Commits on Jul 16, 2021
Remove unnecessary 'invalid_primary' rule in the parser (GH-27186)
pablogsal
authored
a283ef1
View commit details
Copy full SHA for a283ef1
View code at this point
Browse repository at this point
Commits on Jun 24, 2021
bpo-44456: Improve the syntax error when mixing keyword and positional patterns (GH-26793)
pablogsal
authored
0acc258
View commit details
Copy full SHA for 0acc258
View code at this point
Browse repository at this point
Commits on Jun 10, 2021
bpo-44368: Improve syntax errors with invalid as pattern targets (GH-26632)
pablogsal
authored
0507303
View commit details
Copy full SHA for 0507303
View code at this point
Browse repository at this point
bpo-44385: Remove unused grammar rules (GH-26655)
Show description for e7b4644
lysnikolaou
authored
e7b4644
View commit details
Copy full SHA for e7b4644
View code at this point
Browse repository at this point
Commits on Jun 3, 2021
bpo-44305: Improve syntax error for try blocks without except or finally (GH-26523)
pablogsal
authored
b250f89
View commit details
Copy full SHA for b250f89
View code at this point
Browse repository at this point
Commits on May 21, 2021
bpo-44180: Fix edge cases in invalid assigment rules in the parser (GH-26283)
Show description for c878a97
pablogsal
authored
c878a97
View commit details
Copy full SHA for c878a97
View code at this point
Browse repository at this point
Commits on May 19, 2021
bpo-44168: Fix error message in the parser for keyword arguments for invalid expressions (GH-26210)
pablogsal
authored
33c0c90
View commit details
Copy full SHA for 33c0c90
View code at this point
Browse repository at this point
Commits on May 8, 2021
bpo-43149: Correct the syntax error message for multiple exception types (GH-25996)
Show description for 6692dc1
pablogsal
authored
6692dc1
View commit details
Copy full SHA for 6692dc1
View code at this point
Browse repository at this point
Commits on Apr 30, 2021
bpo-43892: Validate the first term of complex literal value patterns (GH-25735)
brandtbucher
authored
dbe60ee
View commit details
Copy full SHA for dbe60ee
View code at this point
Browse repository at this point
Commits on Apr 29, 2021
bpo-43892: Make match patterns explicit in the AST (GH-25585)
Show description for 1e7b858
ncoghlan
and
brandtbucher
authored
1e7b858
View commit details
Copy full SHA for 1e7b858
View code at this point
Browse repository at this point
Commits on Apr 23, 2021
bpo-43914: Highlight invalid ranges in SyntaxErrors (#25525)
Show description for a77aac4
pablogsal
authored
a77aac4
View commit details
Copy full SHA for a77aac4
View code at this point
Browse repository at this point
Commits on Apr 21, 2021
bpo-43859: Improve the error message for IndentationError exceptions (GH-25431)
pablogsal
authored
56c95df
View commit details
Copy full SHA for 56c95df
View code at this point
Browse repository at this point
Commits on Apr 15, 2021
bpo-43823: Fix location of one of the errors for invalid dictionary literals (GH-25427)
pablogsal
authored
b5b98bd
View commit details
Copy full SHA for b5b98bd
View code at this point
Browse repository at this point
bpo-43822: Improve syntax errors for missing commas (GH-25377)
pablogsal
authored
b280248
View commit details
Copy full SHA for b280248
View code at this point
Browse repository at this point
bpo-43823: Improve syntax errors for invalid dictionary literals (GH-25378)
pablogsal
authored
da74350
View commit details
Copy full SHA for da74350
View code at this point
Browse repository at this point
Commits on Apr 13, 2021
bpo-43797: Handle correctly invalid assignments inside function calls and generators (GH-25390)
pablogsal
authored
30ed93b
View commit details
Copy full SHA for 30ed93b
View code at this point
Browse repository at this point
Ensure that early = are not matched by the parser as invalid comparisons (GH-25375)
pablogsal
authored
d9151cb
View commit details
Copy full SHA for d9151cb
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.