|
发表于 2008-10-23 00:05:53
|
显示全部楼层
2.6本来就是为3做准备,承前启后的东东,对python开发者提供下兼容参考
The major theme of Python 2.6 is preparing the migration path to Python 3.0, a major redesign of the language. Whenever possible, Python 2.6 incorporates new features and syntax from 3.0 while remaining compatible with existing code by not removing older features or syntax. When it’s not possible to do that, Python 2.6 tries to do what it can, adding compatibility functions in a future_builtins module and a -3 switch to warn about usages that will become unsupported in 3.0.
个人用户的话,还是2.5了,没必要折腾了,因为众多第三方库支持情况不明(效率上没见多大提高,一般库的升级去克服兼容的问题,很多动力还是不足的),要达到2的程度,3路途遥遥的说 |
|