]> granicus.if.org Git - python/commit
"Unbuffered" mode of class _fileobject wasn't actually unbuffered,
authorGuido van Rossum <guido@python.org>
Wed, 7 Aug 2002 15:46:19 +0000 (15:46 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 7 Aug 2002 15:46:19 +0000 (15:46 +0000)
commite9f6614ea3b236851b536f6650cd6abe3f289dcb
tree43c161e4dea84de01a37a41f577f95dc0b21d085
parent21f675826e135695181e978c40605d3db92cc86b
"Unbuffered" mode of class _fileobject wasn't actually unbuffered,
and this broke a Zope "pipelining" test which read multiple responses
from the same connection (this attaches a new file object to the
socket for each response).  Added a test for this too.

(I want to do some code cleanup too, but I thought I'd first fix
the problem with as little code as possible, and add a unit test
for this case.  So that's what this checkin is about.)
Lib/socket.py
Lib/test/test_socket.py