[Python-checkins] r52287 - sandbox/trunk/import_in_py/importer.py
brett.cannon
python-checkins at python.org
Wed Oct 11 22:42:39 CEST 2006
Author: brett.cannon
Date: Wed Oct 11 22:42:39 2006
New Revision: 52287
Modified:
sandbox/trunk/import_in_py/importer.py
Log:
Outline an optimal use case that should be supported in the easiest way
possible with good code reuse from what is already provided.
Modified: sandbox/trunk/import_in_py/importer.py
==============================================================================
--- sandbox/trunk/import_in_py/importer.py (original)
+++ sandbox/trunk/import_in_py/importer.py Wed Oct 11 22:42:39 2006
@@ -40,6 +40,15 @@
sys.path_importer_cache. Could leave string entries on sys.path that do
not have an importer that can handle them so they can be retried at the
next needed import (that was not found in sys.modules).
+
+XXX Use cases to consider:
+ * PTL files (from Quixote)
+ + Tweaked source files that need to be pre-processed before they are imported.
+ + Should be able to write out bytecode files.
+ - Need to make it easy for .pyc file output, or should just have them use their
+ own file extension?
+ + Should let them use as much base infrastructure from the source and bytecode
+ handlers as possible along with the filesystem importer/loader.
"""
from __future__ import with_statement
More information about the Python-checkins
mailing list