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

Antoine Pitrou solipsis at pitrou.net
Thu Oct 17 12:23:31 CEST 2013


On Wed, 16 Oct 2013 21:30:52 -0400
Terry Reedy <tjreedy at udel.edu> wrote:

> 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 buffer_size 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.

When mentioning Mercurial changesets, please post the
(hexadecimal) changeset id, not the revision number, since revision
numbers are not stable accross clones.
http://mercurial.selenic.com/wiki/RevisionNumber

Regards

Antoine.




More information about the Python-Dev mailing list