Skip to content

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

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

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

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 ab4921d into python:3.14 Jul 22, 2026
51 checks passed
@serhiy-storchaka
serhiy-storchaka deleted the backport-b0c945a-3.14 branch August 27, 2026 12:13
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