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

Yury Selivanov report at bugs.python.org
Fri Jul 7 14:14:58 EDT 2017


Yury Selivanov added the comment:

I looked at the PR and it looks good. The intent is also clear. But the idea of delaying exceptions in StreamReader read methods still feels finicky.

To go forward with this we need more examples than just nodejs. And it doesn't really matter what trio and curio do, as they aren't mainstream. We need a (set of) *concrete* examples where this is needed.

An analysis of how this is approached in another mainstream libraries/ecosystems like C#, Twisted, etc would also help.

----------

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


More information about the Python-bugs-list mailing list