Skip to content

Comments

[3.13] gh-143698: correctly check scheduler and setpgroup values for os.posix_spawn[p] (GH-143699)#145074

Merged
picnixz merged 2 commits intopython:3.13from
picnixz:backport-347fc43-3.13
Feb 21, 2026
Merged

[3.13] gh-143698: correctly check scheduler and setpgroup values for os.posix_spawn[p] (GH-143699)#145074
picnixz merged 2 commits intopython:3.13from
picnixz:backport-347fc43-3.13

Conversation

@picnixz
Copy link
Member

@picnixz picnixz commented Feb 21, 2026

Fix an issue where passing invalid arguments to os.posix_spawn[p] functions raised a SystemError instead of a TypeError, and allow to explicitly use None for scheduler and setpgroup as specified in the docs.

(cherry picked from commit 347fc43)

…alues for `os.posix_spawn[p]` (pythonGH-143699)

Fix an issue where passing invalid arguments to `os.posix_spawn[p]` functions
raised a SystemError instead of a TypeError, and allow to explicitly use `None`
for `scheduler` and `setpgroup` as specified in the docs.
(cherry picked from commit 347fc43)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@picnixz picnixz merged commit 0038b58 into python:3.13 Feb 21, 2026
42 checks passed
@picnixz picnixz deleted the backport-347fc43-3.13 branch February 21, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant