[issue36541] Make lib2to3 grammar more closely match Python

Tim Hatch report at bugs.python.org
Mon Apr 8 15:49:45 EDT 2019


Tim Hatch <tim at timhatch.com> added the comment:

jreese reminded me of pep570, which will make more grammar changes.  I'm open to the idea of replacing the grammar with the live one, plus porting the 2isms forward like print, eval, except with comma.

My sincere hope is that everyone that depends on this structure will have tests (mine and lib2to3 do); the only big user I'm aware of is probably libfuturize.  Definitely worth a changelog entry if this is the way forward.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36541>
_______________________________________


More information about the Python-bugs-list mailing list