diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-10-02 15:21:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-02 15:21:51 (GMT) |
commit | c7cbd82e62d22b6b1c6d4e95dbbd1db16c321533 (patch) | |
tree | f10dd18dfab132664abdfae15060f5a51b2c476f /Python/thread.c | |
parent | 551aa6ab9419109a80ad53900ad930e9b7f2e40d (diff) | |
download | cpython-c7cbd82e62d22b6b1c6d4e95dbbd1db16c321533.zip cpython-c7cbd82e62d22b6b1c6d4e95dbbd1db16c321533.tar.gz cpython-c7cbd82e62d22b6b1c6d4e95dbbd1db16c321533.tar.bz2 |
[3.12] gh-109709: Fix asyncio test_stdin_broken_pipe() (GH-109710) (#109731)
gh-109709: Fix asyncio test_stdin_broken_pipe() (GH-109710)
Replace harcoded sleep of 500 ms with synchronization using a pipe.
Fix also Process._feed_stdin(): catch also BrokenPipeError on
stdin.write(input), not only on stdin.drain().
(cherry picked from commit cbbdf2c1440c804adcfc32ea0470865b3b3b8eb2)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/thread.c')
0 files changed, 0 insertions, 0 deletions