Message191660
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:11 | brett.cannon | set | recipients:
+ brett.cannon, barry, eric.smith, Arfrever, sbt |
2013-06-22 19:12:11 | brett.cannon | set | messageid: <1371928331.93.0.744568334252.issue17621@psf.upfronthosting.co.za> |
2013-06-22 19:12:11 | brett.cannon | link | issue17621 messages |
2013-06-22 19:12:11 | brett.cannon | create | |
|