summaryrefslogtreecommitdiff
path: root/Lib/ihooks.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-10-04 19:57:11 +0000
committerGuido van Rossum <guido@python.org>1996-10-04 19:57:11 +0000
commitfe5d0704bbbd1655155e68b63ccc00120889e102 (patch)
treec5ee43e1275761cbc46071af73e5b40a75cb99f3 /Lib/ihooks.py
parenta00d8f6e0182a498ee2f21885630eb1d88844a78 (diff)
downloadcpython-fe5d0704bbbd1655155e68b63ccc00120889e102.tar.gz
Don't auto-install on import. This slows down apps that use
some of our modules for special purposes (e.g. rexec).
Diffstat (limited to 'Lib/ihooks.py')
-rw-r--r--Lib/ihooks.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/ihooks.py b/Lib/ihooks.py
index 3a7e4bf020..70aa8114d9 100644
--- a/Lib/ihooks.py
+++ b/Lib/ihooks.py
@@ -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()