Message203891
Added patch which addresses Eric's comments. It contains a situation which I'm not so happy, mostly due to not knowing in depth (or at least at a comfortable level) the import mechanics: in the AttributeError except handler, if the spec can't be determined and the module is not built-in, a TypeError is raised to notice the user that discovery can't be done for that particular package. Probably this situation (no __file__, no __spec__ and no built-in) is common, but I can't think right now at another way of solving it. |
|
Date |
User |
Action |
Args |
2013-11-22 21:38:32 | Claudiu.Popa | set | recipients:
+ Claudiu.Popa, eric.smith, ezio.melotti, michael.foord, eric.snow |
2013-11-22 21:38:32 | Claudiu.Popa | set | messageid: <1385156312.78.0.789775921374.issue17457@psf.upfronthosting.co.za> |
2013-11-22 21:38:32 | Claudiu.Popa | link | issue17457 messages |
2013-11-22 21:38:32 | Claudiu.Popa | create | |
|