andrea.crotti.0 at gmail.com
Thu Feb 17 11:11:56 CET 2011
What would be an almost automated way to develop for both python 2.x and
2to3 apparently can only output a diff or write directly on the file (with
-w), but why doesn't it output the resulting file for 3.x instead?
So for a single python file I tried a makefile like:
cp empathy.py empathy3.py
2to3 -w empathy3.py
But maybe there's a better way using python tools...
Then after that how do I test the various versions with the various python
versions in a portable way?
I could just have a bash script that calls
but it's probably not very portable..
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list