summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/machinery.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-01-22 22:43:07 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-01-22 22:43:07 (GMT)
commit5abdc93eb85bc434c3b81b6c7fd1f05e7c9b5fb8 (patch)
tree17dbd10a78d4efc28ab798d9cdb3146419223c28 /Lib/importlib/machinery.py
parent7b3c89d88cac53325b30f583643d288426d90789 (diff)
downloadcpython-5abdc93eb85bc434c3b81b6c7fd1f05e7c9b5fb8.zip
cpython-5abdc93eb85bc434c3b81b6c7fd1f05e7c9b5fb8.tar.gz
cpython-5abdc93eb85bc434c3b81b6c7fd1f05e7c9b5fb8.tar.bz2
Add importlib.machinery with its first tenants, BuitinImporter and
FrozenImporter. Docs forthcoming. I plan on all finders and loaders (and most likely hooks) to live in imoprtlib.machinery. Utility stuff will end up in importlib.util. Higher-level API stuff will stay on imoprtlib directly (e.g. import_module).
Diffstat (limited to 'Lib/importlib/machinery.py')
-rw-r--r--Lib/importlib/machinery.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/importlib/machinery.py b/Lib/importlib/machinery.py
new file mode 100644
index 0000000..40d39f4
--- /dev/null
+++ b/Lib/importlib/machinery.py
@@ -0,0 +1,4 @@
+"""The machinery of importlib: finders, loaders, hooks, etc."""
+
+from ._bootstrap import BuiltinImporter
+from ._bootstrap import FrozenImporter