[issue14285] Traceback wrong on ImportError while executing a package

Nick Coghlan report at bugs.python.org
Sat Dec 5 09:41:08 EST 2015


Nick Coghlan added the comment:

That import will only import the parent package (if there is one), not the module itself. Imports from __main__ will still happen during the exec call later on.

----------

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


More information about the Python-bugs-list mailing list