[issue18018] SystemError: Parent module '' not loaded, cannot perform relative import
Nick Coghlan
report at bugs.python.org
Mon May 20 05:29:02 CEST 2013
Nick Coghlan added the comment:
For the specific case given, both error messages are misleading anyway - the problem is attempting to directly execute a module inside a package instead of using "-m".
However, for the case of attempting a relative import from a top level module, the old message is indeed preferable.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18018>
_______________________________________
More information about the Python-bugs-list
mailing list