Commit 8299e468 authored by Guido van Rossum's avatar Guido van Rossum

Don't auto-install on import. This slows down apps that use

some of our modules for special purposes (e.g. rexec).
parent 3faf9b4d
......@@ -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()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment