[issue10926] Some Invalid Relative Imports succeed in Py 3.0 & 3.1 [& correctly fail in 3.2rc1]

Mark Summerfield report at bugs.python.org
Mon Jan 17 17:30:08 CET 2011


Mark Summerfield <mark at qtrac.eu> added the comment:

I just installed 3.1.3 and it does indeed give the import error:

Python 3.1.3 (r313:86834, Jan 17 2011, 16:29:46) 
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from Graphics.Vector import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "Graphics/Vector/Svg.py", line 2, in <module>
    from ..Graphics import Xpm
ImportError: No module named Graphics

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10926>
_______________________________________


More information about the Python-bugs-list mailing list