[issue33662] asyncio Stream Reader Blocks on read when data fetched is less than limit

Yury Selivanov report at bugs.python.org
Sun May 27 18:45:56 EDT 2018


Yury Selivanov <yselivanov at gmail.com> added the comment:

"if not block:" means EOF and replacing it with "if len(block) < self._limit:" would break everything.

There might be another bug here (with TTY) or, maybe, there's a bug in pty_test.py.  For example, I don't see how you closing reader_pipe or writer_pipe.

----------

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


More information about the Python-bugs-list mailing list