Change by Mateusz Bysiek :
--
nosy: +mbdevpl
___
Python tracker
<https://bugs.python.org/issue32954>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Mateusz Bysiek <r...@mbdev.pl>:
--
title: Arparse improperly handles "-_" -> Argparse improperly handles "-_"
___
Python tracker <rep...@bugs.python.org>
Changes by Mateusz Bysiek <r...@mbdev.pl>:
--
nosy: +mbdevpl
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28964>
___
__
Changes by Mateusz Bysiek <r...@mbdev.pl>:
--
nosy: +mbdevpl
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10399>
___
__
Changes by Mateusz Bysiek <r...@mbdev.pl>:
--
nosy: +mbdevpl
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11549>
___
__
Changes by Mateusz Bysiek <r...@mbdev.pl>:
--
nosy: +mbdevpl
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29471>
___
__
Mateusz Bysiek added the comment:
For some time now, there's an alternate ast implementation
https://github.com/python/typed_ast that carries PEP 484 type comments with the
AST as attributes of certain nodes.
Their approach is described here:
https://github.com/python/typed_ast/blob/master
Changes by Mateusz Bysiek <r...@mbdev.pl>:
--
nosy: +mbdevpl
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29051>
___
__
New submission from Mateusz Bysiek:
with Python 3.6.0 and the following script:
```
#!/usr/bin/env python3.6
import ast
code1 = '''"\\{x}"'''
code2 = '''f"\\{x}"'''
tree1 = ast.parse(code1, mode='eval')
print(ast.dump(tree1))
tree2 = ast.parse(code2, mode='eval')