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 <1398099620.07.0.972684624883.issue19771@psf.upfronthosting.co.za>
In-reply-to
Content
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 ;)
History
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: <1398099620.07.0.972684624883.issue19771@psf.upfronthosting.co.za>
2014-04-21 17:00:20r.david.murraylinkissue19771 messages
2014-04-21 17:00:19r.david.murraycreate