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 }}
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
36.6k
Star
77.3k
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
asdl.py
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on May 4, 2025
gh-131421: Fix ASDL tests (#133408)
Show description for 483d130
JelleZijlstra
authored
483d130
View commit details
Copy full SHA for 483d130
View code at this point
Browse repository at this point
gh-131421: fix ASDL grammar for `Dict` to have an `expr?*` keys field (#131419)
Show description for 3084070
3 people
authored
3084070
View commit details
Copy full SHA for 3084070
View code at this point
Browse repository at this point
Commits on Apr 2, 2021
bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25142)
Show description for 8bbfeb3
methane
authored
8bbfeb3
View commit details
Copy full SHA for 8bbfeb3
View code at this point
Browse repository at this point
Commits on May 6, 2020
bpo-40528: Improve and clear several aspects of the ASDL definition code for the AST (GH-19952)
isidentical
authored
091951a
View commit details
Copy full SHA for 091951a
View code at this point
Browse repository at this point
Commits on Mar 16, 2020
bpo-39638: Keep ASDL signatures in the AST nodes (GH-18515)
isidentical
authored
4ab362c
View commit details
Copy full SHA for 4ab362c
View code at this point
Browse repository at this point
Commits on Jan 25, 2016
Add ast.Constant
Show description for f2c1aa1
vstinner
committed
f2c1aa1
View commit details
Copy full SHA for f2c1aa1
View code at this point
Browse repository at this point
Commits on Nov 9, 2014
Issue #22823: Use set literals instead of creating a set from a list
rhettinger
committed
df1b699
View commit details
Copy full SHA for df1b699
View code at this point
Browse repository at this point
Commits on Jul 8, 2014
Fix bootstrapping asdl -- it didn't work with Python 2.7.
Guido van Rossum
committed
416b516
View commit details
Copy full SHA for 416b516
View code at this point
Browse repository at this point
Commits on May 10, 2014
Issue #19655: Replace the ASDL parser carried with CPython
Show description for 5e3d338
eliben
committed
5e3d338
View commit details
Copy full SHA for 5e3d338
View code at this point
Browse repository at this point
Commits on Sep 26, 2013
Move open outside try/finally
eliben
committed
1891cff
View commit details
Copy full SHA for 1891cff
View code at this point
Browse repository at this point
Don't use fancy new Python features like 'with' - some bots don't have them
Show description for 9908123
eliben
committed
9908123
View commit details
Copy full SHA for 9908123
View code at this point
Browse repository at this point
Normalize whitespace
eliben
committed
58fe1b1
View commit details
Copy full SHA for 58fe1b1
View code at this point
Browse repository at this point
Small fixes in Parser/asdl.py - no change in functionality.
Show description for b788a38
eliben
committed
b788a38
View commit details
Copy full SHA for b788a38
View code at this point
Browse repository at this point
Commits on Mar 18, 2013
unify some ast.argument's attrs; change Attribute column offset (closes #16795)
Show description for cda75be
benjaminp
committed
cda75be
View commit details
Copy full SHA for cda75be
View code at this point
Browse repository at this point
Commits on Dec 6, 2012
create NameConstant AST class for None, True, and False literals (closes #16619)
benjaminp
committed
442f209
View commit details
Copy full SHA for 442f209
View code at this point
Browse repository at this point
Commits on Aug 1, 2012
construct fields in the right order (closes #15517)
Show description for 481ae50
benjaminp
committed
481ae50
View commit details
Copy full SHA for 481ae50
View code at this point
Browse repository at this point
Commits on Aug 9, 2011
the bool asdl type died a while ago
benjaminp
committed
4dc6499
View commit details
Copy full SHA for 4dc6499
View code at this point
Browse repository at this point
add a asdl bytes type, so Bytes.s be properly typechecked
benjaminp
committed
e249841
View commit details
Copy full SHA for e249841
View code at this point
Browse repository at this point
Commits on Mar 13, 2011
convert ast versioning to mercurial
benjaminp
committed
6cb2b92
View commit details
Copy full SHA for 6cb2b92
View code at this point
Browse repository at this point
Commits on May 18, 2010
Merged revisions 81286 via svnmerge from
Show description for 2b80fa6
orsenthil
committed
2b80fa6
View commit details
Copy full SHA for 2b80fa6
View code at this point
Browse repository at this point
Commits on Jul 17, 2009
The output() function takes only one string argument.
avassalotti
committed
df6f3fd
View commit details
Copy full SHA for df6f3fd
View code at this point
Browse repository at this point
Commits on Jun 11, 2009
Merged revisions 73196,73278-73280,73299,73308,73312-73313,73317-73318,73321,73324,73331,73335,73340,73363 via svnmerge from
Show description for 87c8d87
benjaminp
committed
87c8d87
View commit details
Copy full SHA for 87c8d87
View code at this point
Browse repository at this point
Commits on Apr 12, 2009
#2725: Fix missing local, and handle errors without tracebacks.
birkenfeld
committed
8a73278
View commit details
Copy full SHA for 8a73278
View code at this point
Browse repository at this point
Commits on Jan 3, 2009
Merged revisions 68162,68166,68171,68176,68195-68196,68210,68232 via svnmerge from
Show description for 1f01deb
birkenfeld
committed
1f01deb
View commit details
Copy full SHA for 1f01deb
View code at this point
Browse repository at this point
Commits on May 27, 2008
Remove __metaclass__ remains.
birkenfeld
committed
e81f5ef
View commit details
Copy full SHA for e81f5ef
View code at this point
Browse repository at this point
Commits on Mar 17, 2008
Add missing parameter spotted by Jared Flatow
nnorwitz
committed
bda355f
View commit details
Copy full SHA for bda355f
View code at this point
Browse repository at this point
Commits on Aug 30, 2007
More raise statement normalization.
collinw
committed
4902e69
View commit details
Copy full SHA for 4902e69
View code at this point
Browse repository at this point
Commits on May 15, 2007
Merged revisions 55328-55341 via svnmerge from
Show description for 1bc535d
gvanrossum
committed
1bc535d
View commit details
Copy full SHA for 1bc535d
View code at this point
Browse repository at this point
Commits on May 7, 2007
Merged revisions 55007-55179 via svnmerge from
Show description for 805365e
gvanrossum
committed
805365e
View commit details
Copy full SHA for 805365e
View code at this point
Browse repository at this point
Commits on Dec 29, 2006
avoid dict.has_key, since this might get used by a Py3K built in the
Show description for 34e4f52
freddrake
committed
34e4f52
View commit details
Copy full SHA for 34e4f52
View code at this point
Browse repository at this point
Commits on Aug 25, 2006
Switch to using %r in the format string.
brettcannon
committed
f036551
View commit details
Copy full SHA for f036551
View code at this point
Browse repository at this point
Commits on Aug 24, 2006
Get rid of all two uses of backticks (bad Jeremy!).
brettcannon
committed
0e1cff5
View commit details
Copy full SHA for 0e1cff5
View code at this point
Browse repository at this point
Commits on Mar 1, 2006
Patch #1440601: Add col_offset attribute to AST nodes.
loewis
committed
49c5da1
View commit details
Copy full SHA for 49c5da1
View code at this point
Browse repository at this point
Commits on Feb 28, 2006
Whitespace normalization.
tim-one
committed
710ab3b
View commit details
Copy full SHA for 710ab3b
View code at this point
Browse repository at this point
Add support for version field on Modules
loewis
committed
eae93b7
View commit details
Copy full SHA for eae93b7
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.