[Python-checkins] r68000 - sandbox/trunk/io-c/io.py

amaury.forgeotdarc python-checkins at python.org
Mon Dec 29 01:47:04 CET 2008


Author: amaury.forgeotdarc
Date: Mon Dec 29 01:47:02 2008
New Revision: 68000

Log:
Did not mean to commit this; revert


Modified:
   sandbox/trunk/io-c/io.py

Modified: sandbox/trunk/io-c/io.py
==============================================================================
--- sandbox/trunk/io-c/io.py	(original)
+++ sandbox/trunk/io-c/io.py	Mon Dec 29 01:47:02 2008
@@ -79,7 +79,7 @@
         self.characters_written = characters_written
 
 
-def open(file, mode="r", buffering=None, encoding=None, errors=None,
+def unused_open(file, mode="r", buffering=None, encoding=None, errors=None,
          newline=None, closefd=True):
 
     r"""Open file and return a stream.  Raise IOError upon failure.
@@ -257,7 +257,7 @@
 import _io
 BlockingIOError = _io.BlockingIOError
 UnsupportedOperation = _io.UnsupportedOperation
-#open = _io.open
+open = _io.open
 
 class unused_DocDescriptor:
     """Helper for builtins.open.__doc__
@@ -1364,8 +1364,8 @@
                )[self.seennl]
 
 
-#TextIOWrapper = _io.TextIOWrapper
-class TextIOWrapper(TextIOBase):
+TextIOWrapper = _io.TextIOWrapper
+class unusedTextIOWrapper(TextIOBase):
 
     r"""Character and line based layer over a BufferedIOBase object, buffer.
 


More information about the Python-checkins mailing list