Skip to content

Comments

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

Merged
picnixz merged 1 commit intopython:3.14from
picnixz:backport-347fc43-3.14
Feb 21, 2026
Merged

[3.14] gh-143698: correctly check scheduler and setpgroup values for os.posix_spawn[p] (GH-143699)#145073
picnixz merged 1 commit intopython:3.14from
picnixz:backport-347fc43-3.14

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 marked this pull request as ready for review February 21, 2026 11:30
@picnixz picnixz merged commit dcf96d0 into python:3.14 Feb 21, 2026
49 checks passed
@picnixz picnixz deleted the backport-347fc43-3.14 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