Skip to content

[3.13] gh-154416: Fix hanging test_tcflow on DragonFly BSD (GH-154417)#154421

Merged
serhiy-storchaka merged 1 commit into
python:3.13from
serhiy-storchaka:backport-b0c945a-3.13
Jul 22, 2026
Merged

[3.13] gh-154416: Fix hanging test_tcflow on DragonFly BSD (GH-154417)#154421
serhiy-storchaka merged 1 commit into
python:3.13from
serhiy-storchaka:backport-b0c945a-3.13

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Jul 22, 2026

Copy link
Copy Markdown
Member

TCIOFF and TCION transmit STOP and START characters. On DragonFly BSD closing the pseudo-terminal then waits for them to be read, which never happens.

Manual backport of GH-154417: the skip_enotty_error() wrapper only exists on the main branch.

…honGH-154417)

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

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@bedevere-app bedevere-app Bot added the tests Tests in the Lib/test dir label Jul 22, 2026
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) July 22, 2026 05:29
@serhiy-storchaka
serhiy-storchaka merged commit 9d4e852 into python:3.13 Jul 22, 2026
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant