This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients brett.cannon, michael.foord, ncoghlan
Date 2010-03-22.22:05:34
SpamBayes Score 0.0004267259
Marked as misclassified No
Message-id <1269295539.52.0.157795313484.issue8202@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-03-22 22:05:39ncoghlansetrecipients: + ncoghlan, brett.cannon, michael.foord
2010-03-22 22:05:39ncoghlansetmessageid: <1269295539.52.0.157795313484.issue8202@psf.upfronthosting.co.za>
2010-03-22 22:05:35ncoghlanlinkissue8202 messages
2010-03-22 22:05:34ncoghlancreate