diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-02-17 02:45:03 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-02-17 02:45:03 (GMT) |
commit | d2e7b3381532720cdfafbf59491bb74b7ff31b51 (patch) | |
tree | a1fd1d30a63d323cc5ee605dd43861c945202773 /Lib/importlib/util.py | |
parent | 0586ed6288b98520dccaecfdbfd88cda5392bc91 (diff) | |
download | cpython-d2e7b3381532720cdfafbf59491bb74b7ff31b51.zip cpython-d2e7b3381532720cdfafbf59491bb74b7ff31b51.tar.gz cpython-d2e7b3381532720cdfafbf59491bb74b7ff31b51.tar.bz2 |
Implement the more specific PEP 302 semantics for loaders and what happens upon
load failure in relation to reloads. Also expose
importlib.util.module_for_loader to handle all of the details of this along
with making sure all current loaders behave nicely.
Diffstat (limited to 'Lib/importlib/util.py')
-rw-r--r-- | Lib/importlib/util.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/importlib/util.py b/Lib/importlib/util.py new file mode 100644 index 0000000..6250d5b --- /dev/null +++ b/Lib/importlib/util.py @@ -0,0 +1,2 @@ +"""Utility code for constructing importers, etc.""" +from ._bootstrap import module_for_loader |