New submission from pfreixes: Current implementation of StreamReader does not take care of the status of the buffer, once an exception has been set via `set_exception` any call to the read methods won't be able to get the missing data still pending to be processed.
>From the point of view of the developer, if there is no scheduled task for >waiting data into the Streamreader between a network data gets into the buffer >socket and a closing connection by the other peer arrives, the developer won't >be able to gather the previous data. ---------- components: asyncio messages: 297781 nosy: pfreixes, yselivanov priority: normal severity: normal status: open title: StreamReader does not return reamaing and ready data buffer before raise the Exeption versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30861> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com