]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-154416: Fix hanging test_tcflow on DragonFly BSD (GH-154417) (GH-154423)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 22 Jul 2026 05:57:42 +0000 (08:57 +0300)
committerGitHub <noreply@github.com>
Wed, 22 Jul 2026 05:57:42 +0000 (05:57 +0000)
commit566d678323fdc7ced1365db0a8d4abc8ab562c6f
tree170dd5a38613fcb2f6365a675a492193acaa26ce
parent35560dc8e35df2c5d12287bd6f24a9b3531827ae
[3.15] gh-154416: Fix hanging test_tcflow on DragonFly BSD (GH-154417) (GH-154423)

TCIOFF and TCION transmit STOP and START characters, and closing the
pseudo-terminal waits until they are read.  Discard them.
(cherry picked from commit b0c945a27e708419c6845234ef633ce3f7c4c41e)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Lib/test/test_termios.py