[Python-3000-checkins] r55220 - python/branches/py3k-struni/Lib/test/test_codecs.py

Guido van Rossum guido at python.org
Thu May 10 17:09:59 CEST 2007

On 5/10/07, Walter Dörwald <walter at livinglogic.de> wrote:
> Guido van Rossum wrote:
> > Yeah, the solution is to use io.BytesIO where bytes are read/written.
> Done, most remaining errors are from the CJK codecs and from the idna codec.
> BTW, would it make sense to use io.StringIO instead of StringIO.StringIO
>   for the remaining uses in test_codecs.py?

Not yes -- io.StringIO is currently quite broken.

> Is the StringIO module supposed to die?

Yes. If you feel like fixing io.StringIO that would be great! It
probably was a mistake to attempt to share code with BytesIO.

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-3000-checkins mailing list