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

amaury.forgeotdarc python-checkins at python.org
Thu Dec 18 00:30:52 CET 2008


Author: amaury.forgeotdarc
Date: Thu Dec 18 00:30:52 2008
New Revision: 67835

Log:
Expose our IncrementalNewlineDecoder in io.py

Next step: correct tests that don't use seek()


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	Thu Dec 18 00:30:52 2008
@@ -1287,7 +1287,8 @@
         return None
 
 
-class IncrementalNewlineDecoder(codecs.IncrementalDecoder):
+IncrementalNewlineDecoder = _io.IncrementalNewlineDecoder
+class unused_IncrementalNewlineDecoder(codecs.IncrementalDecoder):
     r"""Codec used when reading a file in universal newlines mode.  It wraps
     another incremental decoder, translating \r\n and \r into \n.  It also
     records the types of newlines encountered.  When used with


More information about the Python-checkins mailing list