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 }}
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.