[Python-Dev] 2to3 question about fix_imports.

Victor Stinner victor.stinner at haypocalc.com
Fri Dec 12 17:54:49 CET 2008


Le Friday 12 December 2008 17:39:33 Lennart Regebro, vous avez écrit :
> 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? :-)

I prefer to see that as a bug and so replace cStringIO by StringIO. So can you 
open an issue?

-- 
Victor Stinner aka haypo
http://www.haypocalc.com/blog/


More information about the Python-Dev mailing list