[issue1103213] Adding the missing socket.recvall() method

Jean-Paul Calderone report at bugs.python.org
Mon Apr 5 18:01:50 CEST 2010


Jean-Paul Calderone <exarkun at divmod.com> added the comment:

Just a couple comments:

  * If MSG_WAITALL is defined and a signal interrupts recv, will a string shorter than requested will be returned by sock_recvall?
  * Since MSG_WAITALL is already exposed to Python (when the underlying platform provides it), I wonder if this could all be implemented more simply in pure Python.  Can you elaborate on the motivation to use C?

Someone should do another review when there are unit tests.

----------
nosy: +exarkun

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1103213>
_______________________________________


More information about the Python-bugs-list mailing list