[Python-3000] Making 2to3 installable

Collin Winter collinw at gmail.com
Sun Mar 16 20:57:44 CET 2008


On Sun, Mar 16, 2008 at 12:51 PM, Guido van Rossum <guido at python.org> wrote:
> Cool! Is the next plan to make lib2to3 part of the stdlib in 2.6 and 3.0?

That would be fine by me. I'll try to work up some better docs than
just a README.

>  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/)
>
>
> _______________________________________________
>  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/collinw%40gmail.com
>


More information about the Python-3000 mailing list