[Python-checkins] r61862 - sandbox/trunk/import_in_py/NOTES
brett.cannon
python-checkins at python.org
Tue Mar 25 02:47:32 CET 2008
Author: brett.cannon
Date: Tue Mar 25 02:47:32 2008
New Revision: 61862
Modified:
sandbox/trunk/import_in_py/NOTES
Log:
Add some more todos and add an "Ideas" section.
Modified: sandbox/trunk/import_in_py/NOTES
==============================================================================
--- sandbox/trunk/import_in_py/NOTES (original)
+++ sandbox/trunk/import_in_py/NOTES Tue Mar 25 02:47:32 2008
@@ -1,7 +1,24 @@
+to do
+/////
+[assume all work is for Py3K]
+
* Move Py3K version over to _fileio._FileIO for file work.
+ Can set as open() if desired (but probably not needed).
+ Make sure that reading/writing to file is done in bytes.
+ Be aware that encoding/decoding from file not guaranteed to work as
the encodings module might not be available yet.
-* For Py3K, always have __file__ point to the .py file if it exists.
-* PEP 366.
\ No newline at end of file
+ + Will compile() do the right thing with bytes, decoding, etc.?
+* Always have __file__ point to the .py file if it exists.
+* PEP 366.
+* Rename _importlib to importlib.
+ + Add a fix_importlib() method that does what importlib currently does.
+ + Will allow for imp to become _importlib and be cleaned up.
+
+Ideas
+/////
+
+* Add init_import().
+ + Set sys.meta_path (for when all importers are on there).
+ + Handle using any C implementations from (the future) _importlib.c over
+ the pure Python implementation.
+ - Make sure there is a some way to test both versions of anything.
\ No newline at end of file
More information about the Python-checkins
mailing list