[Python-Dev] Can someone check my lib2to3 change for fix_imports?

Brett Cannon brett at python.org
Wed Jul 2 04:04:44 CEST 2008


I just committed r64651 which is my attempt to add support to
fix_imports so that modules that have been split up in 3.0 can be
properly fixed. 2to3's test suite passes and all, but I am not sure if
I botched it somehow since I did the change slightly blind. Can
someone just do a quick check to make sure I did it properly? Also,
what order should renames be declared to give priority to certain
renames (e.g., urllib should probably be renamed to urllib.requeste
over urllib.error when not used in a ``from ... import`` statement).

-Brett


More information about the Python-Dev mailing list