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 yselivanov
Recipients gvanrossum, pfreixes, yselivanov
Date 2017-07-05.21:29:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499290156.24.0.403208629131.issue30861@psf.upfronthosting.co.za>
In-reply-to
Content
> But IMHO the example it's just that an example, if the connection at
some point was not broken/closed/... and some data came into the
buffer, this data should be put available for the user.

In my experience, you never want to recover any data from broken connections.  In cases where it's safe, StreamReader attaches the buffered data to the exception (see IncompleteReadError).
History
Date User Action Args
2017-07-05 21:29:16yselivanovsetrecipients: + yselivanov, gvanrossum, pfreixes
2017-07-05 21:29:16yselivanovsetmessageid: <1499290156.24.0.403208629131.issue30861@psf.upfronthosting.co.za>
2017-07-05 21:29:16yselivanovlinkissue30861 messages
2017-07-05 21:29:16yselivanovcreate