[Python-3000-checkins] r59602 - python/branches/py3k/Lib/io.py
alexandre.vassalotti
python-3000-checkins at python.org
Fri Dec 28 02:24:23 CET 2007
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()
More information about the Python-3000-checkins
mailing list