[issue10070] 2to3 wishes for already-2to3'ed files

Hallvard B Furuseth report at bugs.python.org
Mon Nov 15 16:43:37 CET 2010


Hallvard B Furuseth <h.b.furuseth at usit.uio.no> added the comment:

Éric Araujo writes:
> I think 2to3 is designed to take 2.x code and turn it into 3.x code.
> Codebases using tricks and hacks to support both 2.x and 3.x (like the
> example you linked to) cannot be handled by 2to3.

That's fair enough.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10070>
_______________________________________


More information about the Python-bugs-list mailing list