[New-bugs-announce] [issue5628] TextIOWrapper fails with SystemError when reading HTTPResponse

Jeremy Hylton report at bugs.python.org
Tue Mar 31 19:08:44 CEST 2009


New submission from Jeremy Hylton <jeremy at alum.mit.edu>:

import io
import urllib.request

f_bytes = urllib.request.urlopen("http://www.python.org/")
f_string = io.TextIOWrapper(f_bytes, "iso-8859-1")
print(f_string.read())

----------
components: Library (Lib)
messages: 84840
nosy: jhylton
severity: normal
status: open
title: TextIOWrapper fails with SystemError when reading HTTPResponse
versions: Python 3.0

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


More information about the New-bugs-announce mailing list