Ondrej Certik <[EMAIL PROTECTED]> added the comment: > You would like to replace "from mptypes import ..." by "from .mptypes > import ...".
Yes, exactly, see the patch where I did that. > Is it really a bug? Python is unable to guess if mptypes, > functions or settings are "global" modules or "relative" modules. I think it is a bug, because 2to3 correctly fixed all the other import statements, like "from something import a, b, c", but failed with "from something import (a, b, c)". > Why don't you patch your original code since Python 2.5 also > supports this syntax? Because we need to support python2.4, a lot of people still use it. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4292> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com