Message104475
Sorry for being all curmudgeonly, but we're using 2to3 in the benchmark suite at http://hg.python.org/benchmarks/, and, since many of the non-CPython implementations are still only 2.5-compatible, the version there needs to run under python 2.5. At the same time, we'd like to be able to use the benchmark version of 2to3 to convert benchmarks to python-3, so we can benchmark changes to CPython's py3k branch. To do that, it'd be nice to be able to import the official 2to3 repository to pick up bug fixes. Therefore, it would be nice for the official repository to run under 2.5.
Here's a patch accomplishing that. It passes its test suite under both 2.5 and 2.6, and can convert itself, and then the converted version can reconvert the original version and get the same result.
You can also review the patch at http://codereview.appspot.com/996043. |
|
Date |
User |
Action |
Args |
2010-04-28 23:52:34 | jyasskin | set | recipients:
+ jyasskin, benjamin.peterson |
2010-04-28 23:52:34 | jyasskin | set | messageid: <1272498754.37.0.0259400258036.issue8566@psf.upfronthosting.co.za> |
2010-04-28 23:52:32 | jyasskin | link | issue8566 messages |
2010-04-28 23:52:31 | jyasskin | create | |
|