[issue4631] urlopen returns extra, spurious bytes
Daniel Diniz
report at bugs.python.org
Thu Dec 11 14:13:23 CET 2008
Daniel Diniz <ajaksu at gmail.com> added the comment:
Confirmed:
Python 3.1a0 (py3k:67702, Dec 11 2008, 11:09:14)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib.request
>>>
urllib.request.urlopen('http://bugs.debian.org/cgi-bin/bugreport.cgi?mbox=yes;bug=123456').readlines()
[b'f65\r\n', b'From mechanix at lucretia.debian.net Tue Dec 11 11:32:47
2001\n', ...
Perhaps it's related to the \r at read boundaries bug?
----------
nosy: +ajaksu2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4631>
_______________________________________
More information about the Python-bugs-list
mailing list