[issue5628] TextIOWrapper fails with SystemError when reading HTTPResponse

Benjamin Peterson report at bugs.python.org
Wed Apr 1 05:17:06 CEST 2009


Benjamin Peterson <benjamin at python.org> added the comment:

Please note that passing a instance of RawIOBase (as HTTPResponse) is
to TextIOWrapper is *not* supported. You must first wrap the raw IO in
a BufferIOBase instance.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5628>
_______________________________________


More information about the Python-bugs-list mailing list