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 }}
pythoncapi
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Lib
ast.py
on
pythoncapi
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 15, 2018
bpo-33851: Fix ast.get_docstring() for a node that lacks a docstring. (GH-7682)
serhiy-storchaka
authored
08f127a
View commit details
Copy full SHA for 08f127a
View code at this point
Browse repository at this point
Commits on May 29, 2018
bpo-32911: Revert bpo-29463. (GH-7121) (GH-7197)
Show description for 73cbe7a
serhiy-storchaka
and
methane
authored
73cbe7a
View commit details
Copy full SHA for 73cbe7a
View code at this point
Browse repository at this point
Commits on Jan 4, 2018
bpo-31778: Make ast.literal_eval() more strict. (#4035)
Show description for d8ac4d1
serhiy-storchaka
authored
d8ac4d1
View commit details
Copy full SHA for d8ac4d1
View code at this point
Browse repository at this point
Commits on Feb 24, 2017
bpo-29637: clean docstring only if not None (GH-267)
Carreau
authored and
methane
committed
41cea70
View commit details
Copy full SHA for 41cea70
View code at this point
Browse repository at this point
Commits on Feb 22, 2017
bpo-29463: Add docstring field to some AST nodes. (#46)
Show description for cb41b27
methane
authored and
vstinner
committed
cb41b27
View commit details
Copy full SHA for cb41b27
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 20, 2015
Issue #25670: Remove duplicate getattr() from ast.NodeTransformer
vstinner
committed
6fbd774
View commit details
Copy full SHA for 6fbd774
View code at this point
Browse repository at this point
Commits on Jul 23, 2015
Issue #24688: ast.get_docstring() for 'async def' functions.
Yury Selivanov
committed
2f07a66
View commit details
Copy full SHA for 2f07a66
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 Jul 16, 2011
remove ast.__version__ (closes #12273)
benjaminp
committed
0bd152c
View commit details
Copy full SHA for 0bd152c
View code at this point
Browse repository at this point
Commits on Apr 17, 2011
Add missing types to docstring of ast.literal_eval.
Show description for 2a83cc6
merwok
committed
2a83cc6
View commit details
Copy full SHA for 2a83cc6
View code at this point
Browse repository at this point
Commits on Jan 24, 2011
Issue #11000 ast.parse parses source, not just expressions.
terryjreedy
committed
feac624
View commit details
Copy full SHA for feac624
View code at this point
Browse repository at this point
Commits on Jan 9, 2011
#10869: do not visit root node twice in ast.increment_lineno().
birkenfeld
committed
619e7ba
View commit details
Copy full SHA for 619e7ba
View code at this point
Browse repository at this point
Commits on Oct 8, 2010
Fix handling on negative numbers in ast.literal_eval().
rhettinger
committed
bc95973
View commit details
Copy full SHA for bc95973
View code at this point
Browse repository at this point
Commits on Aug 30, 2010
remove pointless coding cookies
florentx
committed
e01de8f
View commit details
Copy full SHA for e01de8f
View code at this point
Browse repository at this point
Commits on Jul 11, 2010
allow byte literals
benjaminp
committed
5ef96e5
View commit details
Copy full SHA for 5ef96e5
View code at this point
Browse repository at this point
Allow set literals in literal_eval().
birkenfeld
committed
492f3fc
View commit details
Copy full SHA for 492f3fc
View code at this point
Browse repository at this point
Commits on Jan 16, 2009
Merged revisions 68450,68480-68481,68493,68495,68501,68512,68514-68515,68534-68536,68552,68563,68570-68572,68575,68582,68596,68623-68624,68628 via svnmerge from
Show description for 058e31e
benjaminp
committed
058e31e
View commit details
Copy full SHA for 058e31e
View code at this point
Browse repository at this point
Commits on Oct 25, 2008
Merged revisions 66974,66977,66984,66989,66992,66994-66996,66998-67000,67007,67015 via svnmerge from
Show description for 1a6e0d0
benjaminp
committed
1a6e0d0
View commit details
Copy full SHA for 1a6e0d0
View code at this point
Browse repository at this point
Commits on Jul 2, 2008
Merged revisions 64434-64435,64440-64443,64445,64447-64448,64450,64452,64455,64461,64464,64466,64468 via svnmerge from
Show description for dcf97b9
benjaminp
committed
dcf97b9
View commit details
Copy full SHA for dcf97b9
View code at this point
Browse repository at this point
Commits on Jun 10, 2008
Merged revisions 63829-63831,63858,63865,63879,63882,63948,63970-63972,63976,63989,64014-64015,64021-64022,64063-64065,64067 via svnmerge from
Show description for 0c77a82
birkenfeld
committed
0c77a82
View commit details
Copy full SHA for 0c77a82
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.