timokau added the comment:
I disagree that this is "not a bug". While conversion from 2 to 3 is 2to3's
main intention, the documentation advertises:
2to3 supporting library lib2to3 is, however, a flexible and generic library, so
it is possible to write your own fixers for 2to3. lib2to3 could also be adapted
to custom applications in which Python code needs to be edited automatically.
(https://docs.python.org/3.5/library/2to3.html#module-lib2to3)
And it is used for other purposes. See
- this sphinx bug: https://github.com/sphinx-doc/sphinx/issues/1641
- bower: https://pybowler.io/docs/basics-refactoring
------
nosy: +timokau
___
Python tracker
<https://bugs.python.org/issue35383>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com