[issue508157] urllib.urlopen results.readline is slow

2022-04-10 Thread admin
Change by admin : -- github: None -> 35974 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue508157] urllib.urlopen results.readline is slow

2008-04-07 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Please don't add to a closed issue that old. If you still have an issue with this, please open a new issue. If you have a patch, kindly upload it to the issue. Tracker <[EMAIL PROTECTED]>

[issue508157] urllib.urlopen results.readline is slow

2008-04-05 Thread Aren Olson
Aren Olson <[EMAIL PROTECTED]> added the comment: I can indeed confirm that this change creates a HUGE speed difference. Using the code found at [1] with python2.5 and apache2 under Ubuntu, changing the buffer size to 4096 improved the time needed to download 10MB from 15.5s to 1.78s, almost 9x f

[issue508157] urllib.urlopen results.readline is slow

2008-04-05 Thread Daniel Diniz
Daniel Diniz <[EMAIL PROTECTED]> 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