Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
8299e468
Commit
8299e468
authored
Oct 04, 1996
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't auto-install on import. This slows down apps that use
some of our modules for special purposes (e.g. rexec).
parent
3faf9b4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
Lib/ihooks.py
Lib/ihooks.py
+0
-6
No files found.
Lib/ihooks.py
View file @
8299e468
...
...
@@ -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
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment