[issue3238] backport python 3.0 language functionality to python 2.6 by adding 7 opcodes to ceval.c

Benjamin Peterson report at bugs.python.org
Sun Jul 13 21:09:54 CEST 2008

Benjamin Peterson <musiccomposition at gmail.com> added the comment:

On Sun, Jul 13, 2008 at 2:03 PM, kai zhu <report at bugs.python.org> wrote:
> kai zhu <davidbranniganz at gmail.com> added the comment:
> why not?  it allows developers to migrate 2.x scripts one-by-one to
> working 3.0 conformant ones while maintaining backwards-compatibility w/
> existing 2.x scripts & extension modules (eg. numpy, PIL, zope, ...)
> py3to2 can transparently import & mix & match 2.x & 3.0 scripts (but
> builtins/extensions must b 2.x - hence its a 2to3 migration tool).

Yes, I realize that, but there is another tool called 2to3 that
preforms syntax transformations on 2.x code. That's what the "2to3
conversion" tool component is for.

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list