New submission from Jeffrey Yasskin <jyass...@gmail.com>:

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.

----------
assignee: benjamin.peterson
components: 2to3 (2.x to 3.0 conversion tool)
files: 2to3_support_2.5.patch
keywords: needs review, patch, patch
messages: 104475
nosy: benjamin.peterson, jyasskin
priority: normal
severity: normal
stage: patch review
status: open
title: 2to3 should run under python 2.5
versions: Python 2.5, Python 2.7
Added file: http://bugs.python.org/file17125/2to3_support_2.5.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8566>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to