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, barry, brett.cannon, eric.smith, sbt
Date 2013-06-22.19:12:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
So the approaches I have been using make a loader lazy, so what you have to change in terms of sys.meta_path, sys.path_hooks, etc. would very from loader to loader.

I have realized one tricky thing with all of this is that importlib itself inspects modules post-import to verify that __loader__ and __package__ have been set. That typically triggers an immediate load and so might need to be special-cased.
Date User Action Args
2013-06-22 19:12:11brett.cannonsetrecipients: + brett.cannon, barry, eric.smith, Arfrever, sbt
2013-06-22 19:12:11brett.cannonsetmessageid: <>
2013-06-22 19:12:11brett.cannonlinkissue17621 messages
2013-06-22 19:12:11brett.cannoncreate