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 r.david.murray
Recipients Anthony.Kong, Fotis.Koutoulakis, eric.snow, luiz.poleto, ncoghlan, r.david.murray
Date 2014-04-21.17:00:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Hmm.  It seems to me that .name not being set is a bug in importlib.  It appears that importlib doesn't set it in the 'from x import y' case.  After a bit of experimenting at the python prompt, I'm not even sure what that code in runpy is *doing* (find_spec('foo.__main__') seems to return None if __main__ doesn't exist but foo does).  I'm going to have to leave this to Nick unless I find some more time somewhere ;)
Date User Action Args
2014-04-21 17:00:20r.david.murraysetrecipients: + r.david.murray, ncoghlan, eric.snow, Anthony.Kong, Fotis.Koutoulakis, luiz.poleto
2014-04-21 17:00:20r.david.murraysetmessageid: <>
2014-04-21 17:00:20r.david.murraylinkissue19771 messages
2014-04-21 17:00:19r.david.murraycreate