[Python-3000] Making 2to3 installable

Guido van Rossum guido at python.org
Sun Mar 16 20:51:58 CET 2008


Cool! Is the next plan to make lib2to3 part of the stdlib in 2.6 and 3.0?

On Sun, Mar 16, 2008 at 2:47 PM, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> After talking to Collin, I just committed a change to
>  2to3 to make it installable as an executable script
>  called "2to3".
>
>  To do so, I had to wrap all the top-level modules
>  into a package, and move the fixes and tests into
>  that package. Lacking a better name, I called the
>  library lib2to3. I also install pgen2 as a separate
>  package.
>
>  In the process, I had to change all the imports,
>  and I did that by using relative imports. As
>  a consequence, 2to3 currently won't work on
>  Python 2.4.
>
>  Regards,
>  Martin
>  _______________________________________________
>  Python-3000 mailing list
>  Python-3000 at python.org
>  http://mail.python.org/mailman/listinfo/python-3000
>  Unsubscribe: http://mail.python.org/mailman/options/python-3000/guido%40python.org
>



-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list