This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brett.cannon
Recipients Arfrever, brett.cannon, eric.araujo, eric.smith, eric.snow, lemburg, ncoghlan, python-dev, r.david.murray
Date 2012-04-26.00:58:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:39brett.cannonsetrecipients: + brett.cannon, lemburg, ncoghlan, eric.smith, eric.araujo, Arfrever, r.david.murray, python-dev, eric.snow
2012-04-26 00:58:39brett.cannonsetmessageid: <>
2012-04-26 00:58:39brett.cannonlinkissue14605 messages
2012-04-26 00:58:39brett.cannoncreate