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

Hallvard B Furuseth report at bugs.python.org
Tue Oct 12 14:52:51 CEST 2010


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

Martin v. Löwis writes:
> I still don't understand. If it's 2.x code, why do you want to say that
> it is 3.x code?

It works on Python 2.  It runs on Python 3 - maybe correctly, or maybe
it's not that far along yet.  Maybe some files in a package work on
Python 3, and others have not yet been updated.

> If you don't want to run a specific fixer, you can exclude it from the
> list of fixers.

I know.  So this request is mostly for convenience, but then so is 2to3
in the first place.

print(single argument) would be nice to leave alone in any case though,
since there can be other reasons for the ().  E.g.:

    print(very long
          single argument)

----------

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


More information about the Python-bugs-list mailing list