Skip to content

[3.15] gh-154352: Fix killing a worker process in regrtest on OpenBSD (GH-154353)#154360

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

[3.15] gh-154352: Fix killing a worker process in regrtest on OpenBSD (GH-154353)#154360
serhiy-storchaka merged 1 commit into
python:3.15from
miss-islington:backport-bfd774d-3.15

Conversation

@miss-islington

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

Copy link
Copy Markdown
Contributor

os.getsid() is only allowed for a process in the same session on
OpenBSD. Worker processes are started in their own session, so the
failure means that the process group can be killed.
(cherry picked from commit bfd774d)

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

…ythonGH-154353)

os.getsid() is only allowed for a process in the same session on
OpenBSD.  Worker processes are started in their own session, so the
failure means that the process group can be killed.
(cherry picked from commit bfd774d61eeb384b74380deb1fc5b726decba75e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@serhiy-storchaka
serhiy-storchaka merged commit b8c7ff9 into python:3.15 Jul 21, 2026
63 checks passed
@miss-islington
miss-islington deleted the backport-bfd774d-3.15 branch July 21, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants