]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-154352: Fix killing a worker process in regrtest on OpenBSD (GH-154353...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 21 Jul 2026 14:29:47 +0000 (16:29 +0200)
committerGitHub <noreply@github.com>
Tue, 21 Jul 2026 14:29:47 +0000 (17:29 +0300)
commit9ee705ffa8041d5f6b44178a583114a4fa40ad73
tree8c3878915c9907a326315b5b477c0099b3c61684
parente1eb9e882edf65341689ca4cfca7f31c4038d03d
[3.14] gh-154352: Fix killing a worker process in regrtest on OpenBSD (GH-154353) (GH-154361)

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>
Lib/test/libregrtest/run_workers.py