This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nevsan
Recipients nevsan
Date 2017-03-22.00:12:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490141545.37.0.710126019998.issue29869@psf.upfronthosting.co.za>
In-reply-to
Content
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)
```
History
Date User Action Args
2017-03-22 00:12:25nevsansetrecipients: + nevsan
2017-03-22 00:12:25nevsansetmessageid: <1490141545.37.0.710126019998.issue29869@psf.upfronthosting.co.za>
2017-03-22 00:12:25nevsanlinkissue29869 messages
2017-03-22 00:12:25nevsancreate