homepage

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 doughellmann, eric.araujo, ncoghlan, ned.deily, ronaldoussoren, tarek
Date 2010年11月03日.11:58:14
SpamBayes Score 0.001484615
Marked as misclassified No
Message-id <1288785496.28.0.000850188381675.issue10263@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, yes, I see what you mean - because runpy ignores the sys.modules cache (by design), it won't see the precached module instance placed there by the bootstrap code.
We actually *could* make this work on our end: if we find an existing module in sys.modules, derive the file to be executed from the __file__ attribute of that module rather than searching the whole path again.
History
Date User Action Args
2010年11月03日 11:58:16ncoghlansetrecipients: + ncoghlan, ronaldoussoren, tarek, ned.deily, eric.araujo, doughellmann
2010年11月03日 11:58:16ncoghlansetmessageid: <1288785496.28.0.000850188381675.issue10263@psf.upfronthosting.co.za>
2010年11月03日 11:58:14ncoghlanlinkissue10263 messages
2010年11月03日 11:58:14ncoghlancreate

AltStyle によって変換されたページ (->オリジナル) /