[issue23176] socket.recvfrom(0) waits for data

Sworddragon report at bugs.python.org
Tue Jan 6 05:13:22 CET 2015


Sworddragon added the comment:

If there is no real use for socket.recvfrom(0) (and then probably socket.recv(0) too) maybe a bufsize argument of 0 should throw an exception?

----------

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


More information about the Python-bugs-list mailing list