Don't auto-install on import. This slows down apps that use
some of our modules for special purposes (e.g. rexec).
This commit is contained in:
parent
3faf9b4d48
commit
8299e46831
|
@ -351,9 +351,6 @@ class ModuleImporter(_Verbose):
|
|||
del __builtin__.unload
|
||||
|
||||
|
||||
# XXX Some experimental hacks -- importing ihooks auto-installs!
|
||||
# XXX (That's supposed to be transparent anyway...)
|
||||
|
||||
default_importer = None
|
||||
current_importer = None
|
||||
|
||||
|
@ -365,6 +362,3 @@ def install(importer = None):
|
|||
def uninstall():
|
||||
global current_importer
|
||||
current_importer.uninstall()
|
||||
|
||||
|
||||
install()
|
||||
|
|
Loading…
Reference in New Issue