Message289951
The following should work in Python 3.6
```
from lib2to3.pgen2 import driver
from lib2to3 import pytree
from lib2to3 import pygram
_GRAMMAR_FOR_PY3 = pygram.python_grammar_no_print_statement.copy()
parser_driver = driver.Driver(_GRAMMAR_FOR_PY3, convert=pytree.convert)
tree = parser_driver.parse_string('100_1\n', debug=False)
``` |
|
Date |
User |
Action |
Args |
2017-03-22 00:12:25 | nevsan | set | recipients:
+ nevsan |
2017-03-22 00:12:25 | nevsan | set | messageid: <1490141545.37.0.710126019998.issue29869@psf.upfronthosting.co.za> |
2017-03-22 00:12:25 | nevsan | link | issue29869 messages |
2017-03-22 00:12:25 | nevsan | create | |
|