[issue5380] pty.read raises IOError when slave pty device is closed

Guido van Rossum report at bugs.python.org
Wed Oct 7 12:30:49 EDT 2015


Guido van Rossum added the comment:

Indeed, ptys and pipes behave very differently (that's why we have both -- they serve different purposes).

More relevant question: we should find a way to decide whether to either apply Antoine's patch or close this issue.

Finally, maybe array.fromfile() can be fixed to deal better with short reads (if that's a real issue)? (However *empty* reads should still instantly stop it. Otherwise you end up busy-waiting.)

----------

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


More information about the Python-bugs-list mailing list