Where's the unittest for this fix?

On Dec 27, 2007 5:24 PM, alexandre.vassalotti
<[email protected]> wrote:
> 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
>



-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to