[Python-checkins] r61840 - sandbox/trunk/import_in_py/TODO

brett.cannon python-checkins at python.org
Mon Mar 24 08:04:32 CET 2008


Author: brett.cannon
Date: Mon Mar 24 08:04:31 2008
New Revision: 61840

Modified:
   sandbox/trunk/import_in_py/TODO
Log:
Add a todo item to make the Py3K version use _fileio._FileIO. Doing so will do
away with any special open() until io can be imported. This should allow for
easier testing as a non-bootstrapping Py3K can be used to run the test suite
and thus not require debugging in a bootstrapping Py3K interpreter where
sys.stdout and friends do not exist yet.


Modified: sandbox/trunk/import_in_py/TODO
==============================================================================
--- sandbox/trunk/import_in_py/TODO	(original)
+++ sandbox/trunk/import_in_py/TODO	Mon Mar 24 08:04:31 2008
@@ -1,6 +1,7 @@
+* 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.
-* For Py3K, use _fileio and any wrappers to deal with lack of open() before
-  io.py can be imported.
-* Decide if source files really need to be opened as text or should be passed
-  in as bytes and let parser handle any conversion.
+* PEP 366.
\ No newline at end of file


More information about the Python-checkins mailing list