Brett Cannon added the comment:
The remaining uses of imp.load_module() after issue #17314 (which will probably
all disappear as uses of imp.find_module() is removed):
Lib/idlelib/EditorWindow.py
48: module = imp.load_module(tgt, file, filename, descr)
Lib/pkgutil.py
291: mod = imp.load_module(fullname, self.file, self.filename,
self.etc)
Lib/pydoc.py
47:# - imp.load_module() cannot be prevented from clobbering existing
277: module = imp.load_module(name, file, path, (ext, 'r', kind))
Lib/test/test_imp.py
155: mod = imp.load_module(temp_mod_name, file, filename, info)
203: new_os = imp.load_module("os", *x)
217: mod = imp.load_module(example, *x)
Lib/test/test_importhooks.py
132: mod = imp.load_module(fullname, self.file, self.filename,
self.stuff)
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue14797>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com