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
Type
/
to 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 }}
mhsmith
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Grammar
python.gram
on
libpython-variable
User selector
All users
All time
Commit history
Commits on Jun 4, 2024
gh-119724: Revert "bpo-45759: Better error messages for non-matching 'elif'/'else' statements (#29513)" (#119974)
Show description for 31a4fb3
encukou
authored
31a4fb3
View commit details
Copy full SHA for 31a4fb3
View code at this point
Browse repository at this point
Commits on May 30, 2024
gh-118235: Move RAISE_SYNTAX_ERROR actions to invalid rules and make sure they stay there (GH-119731)
Show description for 48f21b3
encukou
authored
48f21b3
View commit details
Copy full SHA for 48f21b3
View code at this point
Browse repository at this point
Commits on May 7, 2024
gh-118090: Improve error message for empty type param brackets (GH-118091)
sobolevn
authored
b60d4c0
View commit details
Copy full SHA for b60d4c0
View code at this point
Browse repository at this point
Commits on May 3, 2024
gh-116126: Implement PEP 696 (#116129)
Show description for ca269e5
4 people
authored
ca269e5
View commit details
Copy full SHA for ca269e5
View code at this point
Browse repository at this point
Commits on Apr 27, 2024
gh-118323: Document `&&` grammar syntax (#118324)
sobolevn
authored
51aefc5
View commit details
Copy full SHA for 51aefc5
View code at this point
Browse repository at this point
Commits on Apr 24, 2024
gh-116988: Remove duplicates of `annotated_rhs` in the Grammar (#117004)
Rexicon226
authored
9b280ab
View commit details
Copy full SHA for 9b280ab
View code at this point
Browse repository at this point
Commits on Apr 23, 2024
gh-118082: Improve `import` without names syntax error message (#118083)
sobolevn
authored
de1f686
View commit details
Copy full SHA for de1f686
View code at this point
Browse repository at this point
Commits on Apr 2, 2024
gh-109120: Fix syntax error in handlinh of incorrect star expressions (#117444)
grigoriev-semyon
authored
c97d3af
View commit details
Copy full SHA for c97d3af
View code at this point
Browse repository at this point
Commits on Mar 26, 2024
bpo-24612: Improve syntax error for 'not' after an operator (GH-28170)
Show description for 61599a4
pablogsal
and
lysnikolaou
authored
61599a4
View commit details
Copy full SHA for 61599a4
View code at this point
Browse repository at this point
Commits on Feb 26, 2024
gh-115881: Ensure `ast.parse()` parses conditional context managers even with low `feature_version` passed (#115920)
AlexWaygood
authored
7a3518e
View commit details
Copy full SHA for 7a3518e
View code at this point
Browse repository at this point
Commits on Jan 6, 2024
gh-111488: Changed error message in case of no 'in' keyword after 'for' in cmp (#113656)
grigoriev-semyon
authored
bb4c167
View commit details
Copy full SHA for bb4c167
View code at this point
Browse repository at this point
Commits on Nov 20, 2023
bpo-45759: Better error messages for non-matching 'elif'/'else' statements (#29513)
thatbirdguythatuknownot
authored
1c8f912
View commit details
Copy full SHA for 1c8f912
View code at this point
Browse repository at this point
Commits on Oct 31, 2023
gh-111420: Allow type comments in parenthesized `with` statements (#111468)
tomasr8
authored
453e96e
View commit details
Copy full SHA for 453e96e
View code at this point
Browse repository at this point
Commits on Oct 17, 2023
gh-110938: Fix error messages for indented blocks with functions and classes with generic type parameters (#110973)
pablogsal
authored
24e4ec7
View commit details
Copy full SHA for 24e4ec7
View code at this point
Browse repository at this point
Commits on Oct 12, 2023
gh-110696: Fix incorrect syntax error message for incorrect argument unpacking (#110706)
pablogsal
authored
3d18034
View commit details
Copy full SHA for 3d18034
View code at this point
Browse repository at this point
Commits on Sep 22, 2023
gh-109596: Ensure repeated rules in the grammar are not allowed and fix incorrect soft keywords (#109606)
pablogsal
authored
b28ffaa
View commit details
Copy full SHA for b28ffaa
View code at this point
Browse repository at this point
Commits on Sep 8, 2023
gh-109114: Relax the check for invalid lambdas inside f-strings to avoid false positives (#109121)
pablogsal
authored
5bda2f6
View commit details
Copy full SHA for 5bda2f6
View code at this point
Browse repository at this point
Commits on Jul 26, 2023
gh-107015: Remove async_hacks from the tokenizer (#107018)
pablogsal
authored
da8f87b
View commit details
Copy full SHA for da8f87b
View code at this point
Browse repository at this point
Commits on Jun 22, 2023
gh-98931: Add custom error messages to invalid import/from with multiple targets (#105985)
Show description for 13237a2
pablogsal
and
AlexWaygood
authored
13237a2
View commit details
Copy full SHA for 13237a2
View code at this point
Browse repository at this point
Commits on Jun 2, 2023
gh-105194: Fix format specifier escaped characters in f-strings (#105231)
pablogsal
authored
41de543
View commit details
Copy full SHA for 41de543
View code at this point
Browse repository at this point
Commits on May 26, 2023
gh-104799: Move location of type_params AST fields (#104828)
Show description for ba73473
JelleZijlstra
and
AlexWaygood
authored
ba73473
View commit details
Copy full SHA for ba73473
View code at this point
Browse repository at this point
Commits on May 22, 2023
gh-104656: Rename typeparams AST node to type_params (#104657)
JelleZijlstra
authored
a5f244d
View commit details
Copy full SHA for a5f244d
View code at this point
Browse repository at this point
Commits on May 16, 2023
gh-103763: Implement PEP 695 (#103764)
Show description for 24d8b88
5 people
authored
24d8b88
View commit details
Copy full SHA for 24d8b88
View code at this point
Browse repository at this point
Commits on Apr 27, 2023
gh-103656: Transfer f-string buffers to parser to avoid use-after-free (GH-103896)
Show description for 9169a56
lysnikolaou
and
pablogsal
authored
9169a56
View commit details
Copy full SHA for 9169a56
View code at this point
Browse repository at this point
Commits on Apr 19, 2023
gh-102856: Initial implementation of PEP 701 (#102855)
Show description for 1ef61cf
5 people
authored
1ef61cf
View commit details
Copy full SHA for 1ef61cf
View code at this point
Browse repository at this point
Commits on Nov 20, 2022
gh-90994: Improve error messages upon call arguments syntax errors (GH-96893)
lysnikolaou
authored
6d8da23
View commit details
Copy full SHA for 6d8da23
View code at this point
Browse repository at this point
gh-99211: Point to except/except* on syntax errors when mixing them (GH-99215)
Show description for 9c4232a
lysnikolaou
authored
9c4232a
View commit details
Copy full SHA for 9c4232a
View code at this point
Browse repository at this point
Commits on Nov 6, 2022
gh-99153: set location on SyntaxError for try with both except and except* (GH-99160)
iritkatriel
authored
61b6c40
View commit details
Copy full SHA for 61b6c40
View code at this point
Browse repository at this point
Commits on Nov 1, 2022
gh-98931: Improve error message when the user types 'import x from y' instead of 'from y import x' (#98932)
pablogsal
authored
395d428
View commit details
Copy full SHA for 395d428
View code at this point
Browse repository at this point
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
Previous
Next
You can’t perform that action at this time.