Yury Selivanov
bf04b0698b
Issue #28008 : Fix test_unparse
2016-09-09 11:48:39 -07:00
Yury Selivanov
f8cb8a16a3
Issue #27985 : Implement PEP 526 -- Syntax for Variable Annotations.
...
Patch by Ivan Levkivskyi.
2016-09-08 20:50:03 -07:00
Berker Peksag
d07a1cb53b
Issue #26489 : Add dictionary unpacking support to Tools/parser/unparse.py
...
Patch by Guo Ci Teo.
2016-03-06 16:50:44 +02:00
Berker Peksag
d66dd5ce68
Issue #26489 : Add dictionary unpacking support to Tools/parser/unparse.py
...
Patch by Guo Ci Teo.
2016-03-06 16:50:15 +02:00
Victor Stinner
f2c1aa1661
Add ast.Constant
...
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
2016-01-26 00:40:57 +01:00
Eric V. Smith
608adf9c82
Issue 25180: Fix Tools/parser/unparse.py for f-strings. Patch by Martin Panter.
2015-09-20 15:09:15 -04:00
Yury Selivanov
7544508f02
PEP 0492 -- Coroutines with async and await syntax. Issue #24017 .
2015-05-11 22:57:16 -04:00
Benjamin Peterson
025e9ebd0a
PEP 448: additional unpacking generalizations ( closes #2292 )
...
Patch by Neil Girdhar.
2015-05-05 20:16:41 -04:00
Benjamin Peterson
63c46b25d0
teach unparse about matrix multiplication
2014-04-10 00:17:48 -04:00
Benjamin Peterson
cda75be02a
unify some ast.argument's attrs; change Attribute column offset ( closes #16795 )
...
Patch from Sven Brauch.
2013-03-18 10:48:58 -07:00
Benjamin Peterson
442f20996d
create NameConstant AST class for None, True, and False literals ( closes #16619 )
2012-12-06 17:41:04 -05:00
Florent Xicluna
c20740109d
Some cleanup in the Tools directory.
2012-07-07 17:03:54 +02:00
Mark Dickinson
fe8440aec0
Issue #14965 : Bring Tools/parser/unparse.py up to date with the Python 3.3. Grammar.
2012-05-06 17:35:19 +01:00
Mark Dickinson
1b2e9444fe
Issue #14965 : Fix missing support for starred assignments in Tools/parser/unparse.py.
2012-05-06 17:27:39 +01:00
Georg Brandl
4cf83f4d12
Remove some of the old demos. (Put a few somewhere else.)
2010-12-30 17:22:33 +00:00