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 belopolsky, ncoghlan
Date 2008-12-14.01:48:54
SpamBayes Score 0.00067963754
Marked as misclassified No
Message-id <1229219335.13.0.272113193093.issue4512@psf.upfronthosting.co.za>
In-reply-to
Content
The spec get_filename is pretty simple:

Return whatever __file__ would be set to if load_module() was called for
this module.

(runpy's problem is that it never actually loads the module in question,
so it never gets the chance to interrogate __file__)
History
Date User Action Args
2008-12-14 01:48:55ncoghlansetrecipients: + ncoghlan, belopolsky
2008-12-14 01:48:55ncoghlansetmessageid: <1229219335.13.0.272113193093.issue4512@psf.upfronthosting.co.za>
2008-12-14 01:48:54ncoghlanlinkissue4512 messages
2008-12-14 01:48:54ncoghlancreate