]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] Fix os.posix_spawn() error handling (GH-142532) (#142582)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 11 Dec 2025 17:32:11 +0000 (18:32 +0100)
committerGitHub <noreply@github.com>
Thu, 11 Dec 2025 17:32:11 +0000 (17:32 +0000)
commitfc40e7dc52c0b578d873f7fff7c0f709bf5c5aab
tree7523a15bad3308fe4dc5535f22634d6038765dff
parent7218be0199932413c05e39f68cdc4ad27a282867
[3.14] Fix os.posix_spawn() error handling (GH-142532) (#142582)

Fix os.posix_spawn() error handling (GH-142532)

Consistently use `goto exit;` in `py_posix_spawn()`.
(cherry picked from commit 8cfa351560487d472df4c7d841814801fbf57397)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
Modules/posixmodule.c