]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-154352: Fix killing a worker process in regrtest on OpenBSD (GH-154353)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 21 Jul 2026 13:22:20 +0000 (16:22 +0300)
committerGitHub <noreply@github.com>
Tue, 21 Jul 2026 13:22:20 +0000 (13:22 +0000)
commitbfd774d61eeb384b74380deb1fc5b726decba75e
tree829d0527cb53c18cc01a21fa6a27ae25eac680b1
parentf69f7fd526b6601a74ce0852c75466a183a86cea
gh-154352: Fix killing a worker process in regrtest on OpenBSD (GH-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.

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