]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] 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:30:04 +0000 (16:30 +0200)
committerGitHub <noreply@github.com>
Tue, 21 Jul 2026 14:30:04 +0000 (17:30 +0300)
commitb8c7ff982144dc0057686c8a50e53446a7287db4
tree466dc12579cbc69b89edf8a042219fa113aec622
parent682610d700511439add24dcca62708b4c1644d3f
[3.15] gh-154352: Fix killing a worker process in regrtest on OpenBSD (GH-154353) (GH-154360)

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