[issue4290] 2to3 fails with sympy
STINNER Victor
report at bugs.python.org
Mon Nov 10 10:46:18 CET 2008
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
You would like to replace "from mptypes import ..." by "from .mptypes
import ...". Is it really a bug? Python is unable to guess if mptypes,
functions or settings are "global" modules or "relative" modules. Why
don't you patch your original code since Python 2.5 also supports this
syntax? Documentation:
http://www.python.org/doc/2.5.2/ref/import.html
http://docs.python.org/reference/simple_stmts.html#the-import-statement
----------
nosy: +haypo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4290>
_______________________________________
More information about the Python-bugs-list
mailing list