[Python-checkins] r69708 - python/branches/py3k/Lib/importlib/NOTES

brett.cannon python-checkins at python.org
Tue Feb 17 08:15:17 CET 2009


Author: brett.cannon
Date: Tue Feb 17 08:15:17 2009
New Revision: 69708

Log:
Outline a possible way to separate out source loading from bytecode loading.

Modified:
   python/branches/py3k/Lib/importlib/NOTES

Modified: python/branches/py3k/Lib/importlib/NOTES
==============================================================================
--- python/branches/py3k/Lib/importlib/NOTES	(original)
+++ python/branches/py3k/Lib/importlib/NOTES	Tue Feb 17 08:15:17 2009
@@ -5,6 +5,27 @@
   subclass of source support (makes it nicer for VMs that don't use CPython
   bytecode).
 
+    + chained_path_hook
+    + FileFinder
+
+        - find_module
+
+    + ExtensionFileFinder
+    + PyFileFinder
+    + PyPycFileFinder
+    + PyFileLoader
+
+        - get_code for source only
+        - get_data
+        - source_mtime
+        - source_path
+
+    + PyPycFileLoader(PyFileLoader)
+
+        - get_code
+        - bytecode_path
+        - write_bytecode
+
 * Implement PEP 302 protocol for loaders (should just be a matter of testing).
 
     + Source/bytecode.


More information about the Python-checkins mailing list