Message207213
find_spec() is at package level because find_module() is and for no other good reason I'm aware of. I'd be just fine with moving it to util. I don't expect it to be used enough to warrant that top-level placement.
Regarding builtins.__import__(), I'm using it in the event that someone "installed" their own __import__() which gives a different result than import_module(). Thus the parent used by find_spec() will be the expected one. I agree that comment about this would be good. |
|
Date |
User |
Action |
Args |
2014-01-03 07:59:56 | eric.snow | set | recipients:
+ eric.snow, brett.cannon, ncoghlan, Arfrever |
2014-01-03 07:59:56 | eric.snow | set | messageid: <1388735996.78.0.797647745609.issue19944@psf.upfronthosting.co.za> |
2014-01-03 07:59:56 | eric.snow | link | issue19944 messages |
2014-01-03 07:59:56 | eric.snow | create | |
|