diff options
author | Guido van Rossum <guido@python.org> | 1996-10-04 19:57:11 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-10-04 19:57:11 (GMT) |
commit | 8299e46831b1ab387fb0e615efb96497ffe774ae (patch) | |
tree | cd4e4b1de931f922f634452f9338ffe0e58b18f9 /Lib/ihooks.py | |
parent | 3faf9b4d4808d831351a8fb65f7e69f09d9db452 (diff) | |
download | cpython-8299e46831b1ab387fb0e615efb96497ffe774ae.zip cpython-8299e46831b1ab387fb0e615efb96497ffe774ae.tar.gz cpython-8299e46831b1ab387fb0e615efb96497ffe774ae.tar.bz2 |
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 3a7e4bf..70aa811 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() |