summaryrefslogtreecommitdiffstats
path: root/Tools/parser/unparse.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-29463: Add docstring field to some AST nodes. (#46)INADA Naoki2017-02-221-0/+6
| | | | | | | | | | | * bpo-29463: Add docstring field to some AST nodes. ClassDef, ModuleDef, FunctionDef, and AsyncFunctionDef has docstring field for now. It was first statement of there body. * fix document. thanks travis! * doc fixes
* Issue #28008: Fix test_unparseYury Selivanov2016-09-091-1/+4
|
* Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations.Yury Selivanov2016-09-091-0/+13
| | | | Patch by Ivan Levkivskyi.
* Issue #26489: Add dictionary unpacking support to Tools/parser/unparse.pyBerker Peksag2016-03-061-3/+12
|\ | | | | | | Patch by Guo Ci Teo.
| * Issue #26489: Add dictionary unpacking support to Tools/parser/unparse.pyBerker Peksag2016-03-061-3/+12
| | | | | | | | Patch by Guo Ci Teo.
* | Add ast.ConstantVictor Stinner2016-01-251-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #26146: Add a new kind of AST node: ast.Constant. It can be used by external AST optimizers, but the compiler does not emit directly such node. An optimizer can replace the following AST nodes with ast.Constant: * ast.NameConstant: None, False, True * ast.Num: int, float, complex * ast.Str: str * ast.Bytes: bytes * ast.Tuple if items are constants too: tuple * frozenset Update code to accept ast.Constant instead of ast.Num and/or ast.Str: * compiler * docstrings * ast.literal_eval() * Tools/parser/unparse.py
* | Issue 25180: Fix Tools/parser/unparse.py for f-strings. Patch by Martin Panter.Eric V. Smith2015-09-201-0/+39
|/
* PEP 0492 -- Coroutines with async and await syntax. Issue #24017.Yury Selivanov2015-05-121-2/+30
|
* PEP 448: additional unpacking generalizations (closes #2292)Benjamin Peterson2015-05-061-22/+5
| | | | Patch by Neil Girdhar.
* teach unparse about matrix multiplicationBenjamin Peterson2014-04-101-1/+1
|
* unify some ast.argument's attrs; change Attribute column offset (closes #16795)Benjamin Peterson2013-03-181-6/+6
| | | | Patch from Sven Brauch.
* create NameConstant AST class for None, True, and False literals (closes #16619)Benjamin Peterson2012-12-061-0/+3
|
* Some cleanup in the Tools directory.Florent Xicluna2012-07-071-1/+0
|
* Issue #14965: Bring Tools/parser/unparse.py up to date with the Python 3.3. ↵Mark Dickinson2012-05-061-19/+23
|\ | | | | | | Grammar.
| * Issue #14965: Fix missing support for starred assignments in ↵Mark Dickinson2012-05-061-0/+4
|/ | | | Tools/parser/unparse.py.
* Remove some of the old demos. (Put a few somewhere else.)Georg Brandl2010-12-301-0/+600