Message216951
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:20 | r.david.murray | set | recipients:
+ r.david.murray, ncoghlan, eric.snow, Anthony.Kong, Fotis.Koutoulakis, luiz.poleto |
2014-04-21 17:00:20 | r.david.murray | set | messageid: <1398099620.07.0.972684624883.issue19771@psf.upfronthosting.co.za> |
2014-04-21 17:00:20 | r.david.murray | link | issue19771 messages |
2014-04-21 17:00:19 | r.david.murray | create | |
|