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 <rep...@bugs.python.org>
<http://bugs.python.org/issue14285>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to