[issue5628] TextIOWrapper fails with SystemError when reading HTTPResponse
Antoine Pitrou
report at bugs.python.org
Wed Apr 1 02:36:08 CEST 2009
Antoine Pitrou <pitrou at free.fr> added the comment:
urllib.response.addinfourl doesn't seem to implement the required ABC
(BufferedIOBase) properly. It misses the read1() method. Also, it claims
not to be readable:
>>> f_bytes = urllib.request.urlopen("http://www.python.org/")
>>> f_bytes.readable()
False
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5628>
_______________________________________
More information about the Python-bugs-list
mailing list