summaryrefslogtreecommitdiffstats
path: root/Tools/parser
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Issue #21918: Convert test_tools.py to a sub-package of test.Zachary Ware2014-07-161-276/+0
|\ | | | | | | Merge with 3.4.
| * Issue #21918: Convert test_tools.py to a sub-package of test.Zachary Ware2014-07-161-276/+0
| |
* | 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 #14742: test_unparse now only checks a limited number of files unless ↵Mark Dickinson2012-06-231-1/+6
| | | | the 'cpu' resource is specified.
* Issue #14965: Bring Tools/parser/unparse.py up to date with the Python 3.3. ↵Mark Dickinson2012-05-062-19/+54
|\ | | | | | | Grammar.
| * Issue #14965: Fix missing support for starred assignments in ↵Mark Dickinson2012-05-062-0/+11
|/ | | | Tools/parser/unparse.py.
* Remove some of the old demos. (Put a few somewhere else.)Georg Brandl2010-12-302-0/+840