Nick Coghlan <ncogh...@gmail.com> added the comment:

Hmm, the problem here is we don't *know* the module filename until we get hold 
of the loader for it (see _get_module_details() in runpy). And it is the 
process of finding the loader for the __main__ module that does the initial 
import of the package as a side effect.

Added Brett to the nosy list in case I've not thought of something obvious.

----------
nosy: +brett.cannon

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8202>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to