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 pfreixes
Recipients gvanrossum, pfreixes, yselivanov
Date 2017-07-05.21:27:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>

I have an example related to Redis [1], the server warns that the
connection will be closed because you reached out the maximum number
of connections.

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.


On Wed, Jul 5, 2017 at 11:19 PM, Guido van Rossum
<> wrote:
> Guido van Rossum added the comment:
> Do you have a specific use case where it's important to access the remaining data? ISTM that this is happening when the connection is lost and then it shouldn't matter how much of the data you read or not -- the connection was broken before the remote side closed it, and you should not trust the data.
> ----------
> nosy: +gvanrossum
> _______________________________________
> Python tracker <>
> <>
> _______________________________________
Date User Action Args
2017-07-05 21:27:10pfreixessetrecipients: + pfreixes, gvanrossum, yselivanov
2017-07-05 21:27:10pfreixeslinkissue30861 messages
2017-07-05 21:27:10pfreixescreate