This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Isaac Boukris
Recipients Isaac Boukris, asvetlov, eamanu, giampaolo.rodola, josiahcarlson, stutzbach
Date 2019-02-07.08:25:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549527916.75.0.271661941662.issue35913@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-02-07 08:25:18Isaac Boukrissetrecipients: + Isaac Boukris, josiahcarlson, giampaolo.rodola, stutzbach, asvetlov, eamanu
2019-02-07 08:25:16Isaac Boukrissetmessageid: <1549527916.75.0.271661941662.issue35913@roundup.psfhosted.org>
2019-02-07 08:25:16Isaac Boukrislinkissue35913 messages
2019-02-07 08:25:16Isaac Boukriscreate