Python 2.6 to 2.5 cheat sheet -


i've written code target python 2.6.5, need run on cluster has 2.5.4, wasn't on horizon when wrote code. backporting code 2.5 shouldn't hard, wondering if there either cheat-sheet or automated tool me this. things, with statement, right __future__ imports trick, not other things.

have read what's new in python 2.6 document? describes 2.5->2.6 direction, should able figure out reverse it.

as far know, there no automated tools 2.6 2.5. tool know of 2to3 app going python 3.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -