summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ast.py
Commit message (Expand)AuthorAgeFilesLines
* bpo-33851: Fix ast.get_docstring() for a node that lacks a docstring. (GH-7682)Serhiy Storchaka2018-06-151-0/+31
* bpo-32911: Revert bpo-29463. (GH-7121) (GH-7197)Serhiy Storchaka2018-05-291-78/+63
* bpo-31778: Make ast.literal_eval() more strict. (#4035)Serhiy Storchaka2018-01-041-8/+31
* bpo-31592: Fix an assertion failure in Python parser in case of a bad unicode...Oren Milman2017-09-301-0/+10
* bpo-29637: clean docstring only if not None (GH-267)Matthias Bussonnier2017-02-241-0/+1
* bpo-29622: Make AST constructor to accept less than enough number of position...INADA Naoki2017-02-231-4/+0
* bpo-29463: Add docstring field to some AST nodes. (#46)INADA Naoki2017-02-221-73/+87
* Issue #28008: Implement PEP 530 -- asynchronous comprehensions.Yury Selivanov2016-09-091-16/+19
* Issue #27352: Fixed an error message in a test.Serhiy Storchaka2016-06-271-1/+1
* Issue #13436: Add a test to make sure that ast.ImportFrom(level=None) worksBerker Peksag2016-04-291-0/+11
* compiler: don't emit SyntaxWarning on const stmtVictor Stinner2016-02-081-5/+2
* compiler now ignores constant statementsVictor Stinner2016-02-081-17/+16
* Simplify main() of test_astVictor Stinner2016-02-081-2/+3
* Issue #26146: enhance ast.Constant error messageVictor Stinner2016-01-261-0/+6
* Add ast.ConstantVictor Stinner2016-01-251-1/+119
* make opening brace of container literals and comprehensions correspond to the...Benjamin Peterson2015-09-261-9/+9
* Issue #24975: Fix AST compilation for PEP 448 syntax.Yury Selivanov2015-09-011-9/+15
* Issue #24688: ast.get_docstring() for 'async def' functions.Yury Selivanov2015-07-231-0/+3
* PEP 0492 -- Coroutines with async and await syntax. Issue #24017.Yury Selivanov2015-05-121-0/+9
* PEP 448: additional unpacking generalizations (closes #2292)Benjamin Peterson2015-05-061-35/+21
* revert lineno and col_offset changes from #16795 (closes #21295)Benjamin Peterson2015-02-021-31/+14
* set line and column numbers for keyword-only arg nodes (closes #20619)Benjamin Peterson2014-02-141-2/+2
* #18466: merge with 3.3.Ezio Melotti2013-08-171-1/+1
|\
| * #18466: fix more typos. Patch by FĂ©vry Thibault.Ezio Melotti2013-08-171-1/+1
* | Update various test modules to use unittest.main() for test discoveryBrett Cannon2013-06-131-4/+1
* | test_ast: pass the filename to ast.parse()Victor Stinner2013-03-211-1/+1
* | unify some ast.argument's attrs; change Attribute column offset (closes #16795)Benjamin Peterson2013-03-181-37/+45
* | create NameConstant AST class for None, True, and False literals (closes #16619)Benjamin Peterson2012-12-061-5/+8
|/
* Issue #16546: make ast.YieldFrom argument mandatory.Mark Dickinson2012-11-251-0/+8
* get rid of ast_error_finish by passing the compiling struct to ast_errorBenjamin Peterson2012-09-021-1/+3
* merge 3.2 (#15846)Benjamin Peterson2012-09-021-0/+6
|\
| * prevert ast errors from being normalized before ast_error_finish is called (c...Benjamin Peterson2012-09-021-0/+6
* | test AST base type garbage collectionBenjamin Peterson2012-07-081-1/+14
* | merge 3.2 (#14378)Benjamin Peterson2012-03-221-0/+6
|\ \ | |/
| * check by equality for __future__ not identity (closes #14378)Benjamin Peterson2012-03-221-0/+6
* | give the AST class a __dict__Benjamin Peterson2012-03-121-0/+3
* | merge 3.2Benjamin Peterson2012-03-121-3/+0
|\ \ | |/
| * allow AST objects to be like its subclassesBenjamin Peterson2012-03-121-3/+0
* | merge 3.2Benjamin Peterson2012-03-121-3/+0
|\ \ | |/
| * every other ast object has a dict, so I think AST should, tooBenjamin Peterson2012-03-121-3/+0
* | make YieldFrom its own distinct from Yield (closes #13780)Benjamin Peterson2012-01-141-2/+2
* | Implement PEP 380 - 'yield from' (closes #11682)Nick Coghlan2012-01-131-1/+2
* | Merge branch 3.2Amaury Forgeot d'Arc2011-11-221-0/+11
|\ \ | |/
| * Issue #13436: Fix a bogus error message when an AST object was passedAmaury Forgeot d'Arc2011-11-221-0/+11
* | Merge 3.2, fix typos.Florent Xicluna2011-11-111-1/+1
|\ \ | |/
| * Fix few typos.Florent Xicluna2011-11-111-1/+1
* | fix indentationBenjamin Peterson2011-08-091-1/+1
* | add a AST validator (closes #12575)Benjamin Peterson2011-08-091-2/+408
* | merge 3.2Benjamin Peterson2011-07-221-0/+14
|\ \ | |/
| * type check AST strings and identifiersBenjamin Peterson2011-07-221-0/+14