[Python-Dev] Regarding stdlib socket module, _fileobject.flush() method using ._rbufsize instead of ._wbufsize (original) (raw)

Terry Reedy tjreedy at udel.edu
Thu Oct 17 03:30:52 CEST 2013


On 10/16/2013 5:01 PM, Peter Portante wrote:

Hello,

Is there a reason why the stdlib socket module fileobject.flush() method is using .rbufsize instead of .wbufsize at line 297 (Python 2.7.3), where it determines the buffersize value to be used for sock.sendall()? Does anybody know the history behind this?

Annotations and history show that line is from 61875, 2010-5-23, J P Calderone, Merged revisions 74426... I do not understand the message.

Terry Jan Reedy



More information about the Python-Dev mailing list