summaryrefslogtreecommitdiffstats
path: root/Lib/imp.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-04-15 23:06:23 (GMT)
committerBrett Cannon <brett@python.org>2012-04-15 23:06:23 (GMT)
commit2fef4d2e6bbb88d1a13a9fd7bc54cb842894974c (patch)
treefe3cdebd99dc229fbfd2c1eb85f0666b29ddf30f /Lib/imp.py
parentc1b3f63653d973e99311797540c6aad2448f97b2 (diff)
downloadcpython-2fef4d2e6bbb88d1a13a9fd7bc54cb842894974c.zip
cpython-2fef4d2e6bbb88d1a13a9fd7bc54cb842894974c.tar.gz
cpython-2fef4d2e6bbb88d1a13a9fd7bc54cb842894974c.tar.bz2
Consider load_dynamic() something to keep in _imp.
Diffstat (limited to 'Lib/imp.py')
-rw-r--r--Lib/imp.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/imp.py b/Lib/imp.py
index d7ba344..655bf56 100644
--- a/Lib/imp.py
+++ b/Lib/imp.py
@@ -7,13 +7,14 @@ functionality over this module.
"""
# (Probably) need to stay in _imp
from _imp import (lock_held, acquire_lock, release_lock, reload,
- get_frozen_object, is_frozen_package, init_builtin,
- init_frozen, is_builtin, is_frozen, _fix_co_filename)
+ load_dynamic, get_frozen_object, is_frozen_package,
+ init_builtin, init_frozen, is_builtin, is_frozen,
+ _fix_co_filename)
# Can (probably) move to importlib
from _imp import (get_magic, get_tag, get_suffixes, cache_from_source,
source_from_cache)
# Should be re-implemented here (and mostly deprecated)
-from _imp import (find_module, load_module, load_compiled, load_dynamic,
+from _imp import (find_module, load_module, load_compiled,
load_package, load_source, NullImporter,
SEARCH_ERROR, PY_SOURCE, PY_COMPILED, C_EXTENSION,
PY_RESOURCE, PKG_DIRECTORY, C_BUILTIN, PY_FROZEN,