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
2fef4d2e
Commit
2fef4d2e
authored
Apr 15, 2012
by
Brett Cannon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Consider load_dynamic() something to keep in _imp.
parent
c1b3f636
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Lib/imp.py
Lib/imp.py
+4
-3
No files found.
Lib/imp.py
View file @
2fef4d2e
...
...
@@ -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
,
...
...
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