[Python-Dev] Return type of round, floor, and ceil in 2.6

Christian Heimes lists at cheimes.de
Thu Jan 3 22:19:33 CET 2008


Raymond Hettinger wrote:
> Does the 2to3 tool work from 2.5 or from 2.6 or does it make difference?  If it works from 2.5, I'm thinking my company will make the jump all at once (after the 3.x series stabilizes, gets optimized, and key third-party packages have been migrated).  

It's not guaranteed that it will work from 2.5. The transition plan for
2to3 is:

 * Get your code working under python2.6 -3 without Python 3.0
deprecation warnings
 * Use 2to3 to migrate the code from 2.6 to 3.0

Christian



More information about the Python-Dev mailing list