diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-08-12 12:36:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-12 12:36:04 (GMT) |
commit | 5d444434ad4e1943a88c9d3aadd300fd0f05dab7 (patch) | |
tree | d287cc76adc529e32987d5d244fe55e0eb8fdded /setup.py | |
parent | 2666d702e49aa0e4975553bec2e92ca4a2dba4ea (diff) | |
download | cpython-5d444434ad4e1943a88c9d3aadd300fd0f05dab7.zip cpython-5d444434ad4e1943a88c9d3aadd300fd0f05dab7.tar.gz cpython-5d444434ad4e1943a88c9d3aadd300fd0f05dab7.tar.bz2 |
bpo-26228: Fix pty EOF handling (GH-12049) (GH-27732)
On non-Linux POSIX platforms, like FreeBSD or macOS,
the FD used to read a forked PTY may signal its exit not
by raising an error but by sending empty data to the read
syscall. This case wasn't handled, leading to hanging
`pty.spawn` calls.
Co-authored-by: Reilly Tucker Siemens <reilly@tuckersiemens.com>
Co-authored-by: Ćukasz Langa <lukasz@langa.pl>
(cherry picked from commit 81ab8db235580317edcb0e559cd4c983f70883f5)
Co-authored-by: Zephyr Shannon <geoffpshannon@gmail.com>
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions