Guido van Rossum <[EMAIL PROTECTED]> added the comment: 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. ---------- nosy: +gvanrossum _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4448> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com