]> granicus.if.org Git - python/commitdiff
Don't auto-install on import. This slows down apps that use
authorGuido van Rossum <guido@python.org>
Fri, 4 Oct 1996 19:57:11 +0000 (19:57 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 4 Oct 1996 19:57:11 +0000 (19:57 +0000)
some of our modules for special purposes (e.g. rexec).

Lib/ihooks.py

index 3a7e4bf020d45bc1b7f48c3ea45d941a4ba246c7..70aa8114d97e6dec55043466f5e57a5d0c5255bc 100644 (file)
@@ -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()