Author gvanrossum
Recipients gregory.p.smith, gvanrossum
Date 2008-11-28.04:34:14
SpamBayes Score 2.94309e-07
Marked as misclassified No
Message-id <1227846857.69.0.874598618601.issue4448@psf.upfronthosting.co.za>
In-reply-to
Content
You meant socket.py.

This is an extremely subtle area.  I would be very wary of changing this
-- there is a use case where headers are read from the socket using
readline() but the rest of the data is read directly from the socket,
and this would break if there was buffered data in the file objects. 
This is exactly why httplib sets the buffer size to 0.

Fortunately things are completely different in Python 3.0 and I believe
the same problem doesn't exist -- in 3.0 it makes more sense to always
read from the (binary) buffered file object representing the socket.
History
Date User Action Args
2008-11-28 04:34:17gvanrossumsetrecipients: + gvanrossum, gregory.p.smith
2008-11-28 04:34:17gvanrossumsetmessageid: <1227846857.69.0.874598618601.issue4448@psf.upfronthosting.co.za>
2008-11-28 04:34:16gvanrossumlinkissue4448 messages
2008-11-28 04:34:14gvanrossumcreate