[issue43806] asyncio.StreamReader hangs when reading from pipe and other process exits unexpectedly

Jonathan Schweder report at bugs.python.org
Mon May 3 14:35:29 EDT 2021


Jonathan Schweder <jonathanschweder at gmail.com> added the comment:

@kormang this is an expected behaviour, this is a problem even for the OS level, just because it is impossible to know when the reader needs to stop waiting, the best option here is to implement some timeout mechanism.

----------
nosy: +jaswdr

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43806>
_______________________________________


More information about the Python-bugs-list mailing list