[Python-checkins] r68822 - python/branches/io-c/Lib/io.py

antoine.pitrou python-checkins at python.org
Tue Jan 20 22:41:19 CET 2009


Author: antoine.pitrou
Date: Tue Jan 20 22:41:19 2009
New Revision: 68822

Log:
Disable the pure Python TextIOBase class, and inject C the implementation instead



Modified:
   python/branches/io-c/Lib/io.py

Modified: python/branches/io-c/Lib/io.py
==============================================================================
--- python/branches/io-c/Lib/io.py	(original)
+++ python/branches/io-c/Lib/io.py	Tue Jan 20 22:41:19 2009
@@ -1241,7 +1241,7 @@
 BufferedRandom = _io.BufferedRandom
 
 
-class TextIOBase(IOBase):
+class unused_TextIOBase(IOBase):
 
     """Base class for text I/O.
 
@@ -1287,6 +1287,7 @@
         Subclasses should override.
         """
         return None
+TextIOBase = _io.TextIOBase
 
 
 IncrementalNewlineDecoder = _io.IncrementalNewlineDecoder


More information about the Python-checkins mailing list