diff options
author | Victor Stinner <vstinner@python.org> | 2020-04-03 00:11:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-03 00:11:54 (GMT) |
commit | 745bd91bab8e57c52d63a2d541465551d7551f78 (patch) | |
tree | 2623e578ba5271c76960be748e48015525d12d89 /Python/pythonrun.c | |
parent | 1098671e4e5ec1513247f05598158eaa3428c5be (diff) | |
download | cpython-745bd91bab8e57c52d63a2d541465551d7551f78.zip cpython-745bd91bab8e57c52d63a2d541465551d7551f78.tar.gz cpython-745bd91bab8e57c52d63a2d541465551d7551f78.tar.bz2 |
bpo-40140: test_builtin.PtyTests registers SIGHUP handler (GH-19314) (GH-19316)
test_builtin.PtyTests now registers an handler for SIGHUP signal.
Closing the PTY file descriptor can emit a SIGHUP signal: just ignore
it.
run_child() now also closes the PTY file descriptor before waiting
for the process completition, otherwise the test hangs on AIX.
(cherry picked from commit 7a51a7e19f0143f75f8fc9ff68f93ed40937aec6)
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions