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

Re: The looming Python 3(000) monster



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


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