[issue508157] urllib.urlopen results.readline is slow

Daniel Diniz report at bugs.python.org
Sun Apr 6 06:46:55 CEST 2008

Daniel Diniz <ajaksu2 at users.sourceforge.net> added the comment:

Well, this issue is still hurting performance, the most recent example
was with a developer of a download manager.

I suggest adding a buffer size argument to HTTPResponse.__init__
(defaulting to zero), along with docs that explain the problems that may
arise from using a buffer. If there's any chance this might be accepted,
I'll write a patch.

nosy: +ajaksu2
versions: +Python 2.6 -Python 2.2

Tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list