Isaac Boukris <[email protected]> added the comment:
if not data:
# a closed connection is indicated by signaling
# a read condition, and having recv() return 0.
self.handle_close()
return b''
This above is the current code. Do you agree that it makes a wrong assumption
and therefore behave incorrectly? If so, how do you suggest fixing it without
adding a new method?
Otherwise; maybe we can at least amend the comment in the code, and perhaps add
a word or two to the doc.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue35913>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com