[Python-porting] Script for automatic 2to3-ing during develooment?

"Martin v. Löwis" martin at v.loewis.de
Thu Feb 19 00:35:18 CET 2009


> Yeah, but I don't want to *install* it. I want to run the tests under
> Python 3. :) Maybe I can run a command that installs it into a
> specific prefix, and then runs the tests from there. Hmmm.

Then you should be able to recycle the logic that performs the
translation, namely distutils.utils.run_2to3 (after making a copy
of the sources to be converted).

HTH,
Martin


More information about the Python-porting mailing list