Problem with -3 switch
Steve Holden
steve at holdenweb.com
Fri Jan 9 13:13:37 EST 2009
Aivar Annamaa wrote:
>> As was recently pointed out in a nearly identical thread, the -3
>> switch only points out problems that the 2to3 converter tool can't
>> automatically fix. Changing print to print() on the other hand is
>> easily fixed by 2to3.
>>
>> Cheers,
>> Chris
>>
>
> I see.
> So i gotta keep my own discipline with print() then :)
>
Only if you don't want to run your 2.x code through 2to3 before you use
it as Python 3.x code.
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
More information about the Python-list
mailing list