[issue40528] Improve / Clear ASDL generator

Batuhan Taskaya report at bugs.python.org
Wed May 6 09:41:52 EDT 2020


Batuhan Taskaya <batuhanosmantaskaya at gmail.com> added the comment:

A real world example would be tools like `unimport`, that try to remove a certain part of import by looking start/end column offsets. Before (lib2to3), it was using tokens to manipulate source, and what I can tell is that having position information on multi line from imports would be a life saver for tool authors.

----------

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


More information about the Python-bugs-list mailing list