Martin v. Löwis schrieb: > 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.
Cool! With that in the 3k stdlib, the auto2to3 hook [1] will work out of the box... (It seems you missed a few old-style relative imports in refactor.py, patcomp.py and pygram.py...) cheers, Georg [1] http://dev.pocoo.org/hg/sandbox/file/tip/auto2to3.py _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com