Fix the reset() method of IncrementalNewlineDecoder to
also reset self.seennl.
diff --git a/Lib/io.py b/Lib/io.py
index 05ea94b..2a5348d 100644
--- a/Lib/io.py
+++ b/Lib/io.py
@@ -1116,6 +1116,7 @@
         self.decoder.setstate((buf, flag))
 
     def reset(self):
+        self.seennl = 0
         self.buffer = b''
         self.decoder.reset()