diff options
author | Guido van Rossum <guido@python.org> | 1996-10-04 19:57:11 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-10-04 19:57:11 +0000 |
commit | fe5d0704bbbd1655155e68b63ccc00120889e102 (patch) | |
tree | c5ee43e1275761cbc46071af73e5b40a75cb99f3 /Lib/ihooks.py | |
parent | a00d8f6e0182a498ee2f21885630eb1d88844a78 (diff) | |
download | cpython-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.py | 6 |
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() |