equal
deleted
inserted
replaced
90 # set requested submodules for demand load |
90 # set requested submodules for demand load |
91 if not(hasattr(mod, x)): |
91 if not(hasattr(mod, x)): |
92 setattr(mod, x, _demandmod(x, mod.__dict__, mod.__dict__)) |
92 setattr(mod, x, _demandmod(x, mod.__dict__, mod.__dict__)) |
93 return mod |
93 return mod |
94 |
94 |
95 ignore = [] |
95 ignore = ['_hashlib', 'email.mime'] |
96 |
96 |
97 def enable(): |
97 def enable(): |
98 "enable global demand-loading of modules" |
98 "enable global demand-loading of modules" |
99 __builtins__["__import__"] = _demandimport |
99 __builtins__["__import__"] = _demandimport |
100 |
100 |