Message159347
Just to document why my explicit sys.path_hooks patch didn't quite change the meaning of None in sys.path_importer_cache, I found a bunch of places in the stdlib and in Modules/main.c where NullImporter is explicitly expected to be returned, so I wanted to get this initial patch in before I saw what would happen if None didn't change its meaning.
I think I will try a patch to have None mean "no finder" instead of the current "retry sys.path_hooks" and see how that goes. The real trick is whether stopping the use of NullImporter will be easy or not. That will be what really decides if it stops being on sys.path_hooks by default. |
|
Date |
User |
Action |
Args |
2012-04-26 00:58:39 | brett.cannon | set | recipients:
+ brett.cannon, lemburg, ncoghlan, eric.smith, eric.araujo, Arfrever, r.david.murray, python-dev, eric.snow |
2012-04-26 00:58:39 | brett.cannon | set | messageid: <1335401919.89.0.417778143834.issue14605@psf.upfronthosting.co.za> |
2012-04-26 00:58:39 | brett.cannon | link | issue14605 messages |
2012-04-26 00:58:39 | brett.cannon | create | |
|