[issue31059] asyncio.StreamReader.read hangs if n<0
Andrew Svetlov
report at bugs.python.org
Wed Dec 20 14:39:10 EST 2017
Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:
`.read(-1)` reads up to end of stream (closing the underlying socket by peer).
If other side doesn't close connection after sending data -- read(-1) hangs, but it is not asyncio bug.
----------
nosy: +asvetlov
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31059>
_______________________________________
More information about the Python-bugs-list
mailing list