Author: alexandre.vassalotti
Date: Fri Dec 28 02:24:22 2007
New Revision: 59602
Modified:
python/branches/py3k/Lib/io.py
Log:
Fix the reset() method of IncrementalNewlineDecoder to
also reset self.seennl.
Modified: python/branches/py3k/Lib/io.py
==============================================================================
--- python/branches/py3k/Lib/io.py (original)
+++ python/branches/py3k/Lib/io.py Fri Dec 28 02:24:22 2007
@@ -1116,6 +1116,7 @@
self.decoder.setstate((buf, flag))
def reset(self):
+ self.seennl = 0
self.buffer = b''
self.decoder.reset()
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins