diff options
author | Zephyr Shannon <geoffpshannon@gmail.com> | 2021-08-11 22:21:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-11 22:21:46 (GMT) |
commit | 81ab8db235580317edcb0e559cd4c983f70883f5 (patch) | |
tree | 77894e660eba54cfe86044fa73b04fef02845d84 /Doc/make.bat | |
parent | 64a7812c170f5d46ef16a1517afddc7cd92c5240 (diff) | |
download | cpython-81ab8db235580317edcb0e559cd4c983f70883f5.zip cpython-81ab8db235580317edcb0e559cd4c983f70883f5.tar.gz cpython-81ab8db235580317edcb0e559cd4c983f70883f5.tar.bz2 |
bpo-26228: Fix pty EOF handling (GH-12049)
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>
Diffstat (limited to 'Doc/make.bat')
0 files changed, 0 insertions, 0 deletions