This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kristjan.jonsson
Recipients kristjan.jonsson
Date 2008-11-21.10:52:52
SpamBayes Score 0.020267723
Marked as misclassified No
Message-id <1227264774.0.0.300756536942.issue4336@psf.upfronthosting.co.za>
In-reply-to
Content
Just a thought here:
Maybe it would be better just to change socket._fileobject to always 
use a minimum of 8k readbuffer for readline() just as read() already 
does.  The read() documentation states that recv(1) is very 
inefficient, and so it is.
The intent, when calling makefile(bufsize=0) is probably to make sure 
that buffering for write() is disabled.
Any thoughts?
History
Date User Action Args
2008-11-21 10:52:54kristjan.jonssonsetrecipients: + kristjan.jonsson
2008-11-21 10:52:53kristjan.jonssonsetmessageid: <1227264774.0.0.300756536942.issue4336@psf.upfronthosting.co.za>
2008-11-21 10:52:53kristjan.jonssonlinkissue4336 messages
2008-11-21 10:52:52kristjan.jonssoncreate