Skip to content

[3.14] gh-154345: Fix test_posix_pty_functions() killing the worker on Solaris (GH-154346)#154355

Merged
serhiy-storchaka merged 1 commit into
python:3.14from
miss-islington:backport-f69f7fd-3.14
Jul 21, 2026
Merged

[3.14] gh-154345: Fix test_posix_pty_functions() killing the worker on Solaris (GH-154346)#154355
serhiy-storchaka merged 1 commit into
python:3.14from
miss-islington:backport-f69f7fd-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Pushing the "ptem" STREAMS module makes a session leader without a
controlling terminal acquire the slave as one, so closing the file
descriptors sent SIGHUP to the session and killed the regrtest worker.
Disown it after the pushes, as os.openpty() does.
(cherry picked from commit f69f7fd)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-authored-by: Claude Opus 4.8 noreply@anthropic.com

… Solaris (pythonGH-154346)

Pushing the "ptem" STREAMS module makes a session leader without a
controlling terminal acquire the slave as one, so closing the file
descriptors sent SIGHUP to the session and killed the regrtest worker.
Disown it after the pushes, as os.openpty() does.
(cherry picked from commit f69f7fd)

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 21, 2026
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) July 21, 2026 14:48
@serhiy-storchaka
serhiy-storchaka merged commit 5f05d2f into python:3.14 Jul 21, 2026
86 of 88 checks passed
@miss-islington
miss-islington deleted the backport-f69f7fd-3.14 branch July 21, 2026 15:04
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.

2 participants