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 pitrou
Recipients asvetlov, eranrund, orsenthil, piotr.dobrogost, pitrou, slingamn
Date 2012-12-15.17:13:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1355591630.38.0.978543430703.issue16298@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry for the delay. I am not sure I understand your concern here:

> If the user reads the exact amount of bytes the server sent, read() on > the socket will never have a chance to return '' and inform the user
> about the connection termination.

Certainly read(), called once again, would return ''? That's how I understand your unit test anyway.
History
Date User Action Args
2012-12-15 17:13:50pitrousetrecipients: + pitrou, orsenthil, asvetlov, piotr.dobrogost, eranrund, slingamn
2012-12-15 17:13:50pitrousetmessageid: <1355591630.38.0.978543430703.issue16298@psf.upfronthosting.co.za>
2012-12-15 17:13:50pitroulinkissue16298 messages
2012-12-15 17:13:49pitroucreate