[issue30861] StreamReader does not return reamaing and ready data buffer before raise the Exeption

Guido van Rossum report at bugs.python.org
Mon Jul 17 11:52:23 EDT 2017


Guido van Rossum added the comment:

There's no need. You seem to have accidentally shown a use case for getting the buffered data -- it can contain an error message explaining why the connection was closed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30861>
_______________________________________


More information about the Python-bugs-list mailing list