[Python-Dev] 2to3 question about fix_imports. (original) (raw)

Lennart Regebro regebro at gmail.com
Fri Dec 12 17:39:33 CET 2008


The fix_imports fix seems to fix only the first import per line that you have. So if you do for example import urllib2, cStringIO it will not fix cStringIO.

Is this a bug or a feature? :-) If it's a feature it should warn at least, right?

-- Lennart Regebro: Zope and Plone consulting. http://www.colliberty.com/ +33 661 58 14 64



More information about the Python-Dev mailing list