Re: The looming Python 3(000) monster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matej Cepl wrote:
> 
> The party line is that you should develop against python 2.6 
> (which doesn't block you from being compatible with Python 2.3) 
> and then conversion from 2.6 to 3.* would be guaranteed to be 
> done just with a script.
> 
The guarantee that 2to3 will convert your code does not exist.

Additionally to be more compatible with 3.x syntax, you have to enable
3.x features in python-2.6.  Use of those features will make your code
incompatible with python <= 2.5.

So you either have 2.x compatible code or 3.x compatible code not both
(even including the script).

-Toshio

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux