Commit 0038b58
authored
* [3.13] gh-143698: correctly check `scheduler` and `setpgroup` values for `os.posix_spawn[p]` (GH-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)
1 parent 773cd81 commit 0038b58
File tree
6 files changed
+46
-15
lines changed- Lib/test
- test_inspect
- Misc/NEWS.d/next/Library
- Modules
- clinic
6 files changed
+46
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6293 | 6293 | | |
6294 | 6294 | | |
6295 | 6295 | | |
6296 | | - | |
6297 | | - | |
| 6296 | + | |
6298 | 6297 | | |
6299 | 6298 | | |
6300 | 6299 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1888 | 1888 | | |
1889 | 1889 | | |
1890 | 1890 | | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
1891 | 1896 | | |
1892 | 1897 | | |
1893 | 1898 | | |
| |||
1988 | 1993 | | |
1989 | 1994 | | |
1990 | 1995 | | |
| 1996 | + | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
1991 | 2010 | | |
1992 | 2011 | | |
1993 | 2012 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7060 | 7060 | | |
7061 | 7061 | | |
7062 | 7062 | | |
| 7063 | + | |
7063 | 7064 | | |
7064 | 7065 | | |
7065 | 7066 | | |
| |||
7068 | 7069 | | |
7069 | 7070 | | |
7070 | 7071 | | |
7071 | | - | |
| 7072 | + | |
7072 | 7073 | | |
7073 | 7074 | | |
7074 | 7075 | | |
| |||
7141 | 7142 | | |
7142 | 7143 | | |
7143 | 7144 | | |
7144 | | - | |
| 7145 | + | |
7145 | 7146 | | |
7146 | 7147 | | |
7147 | 7148 | | |
| |||
7366 | 7367 | | |
7367 | 7368 | | |
7368 | 7369 | | |
| 7370 | + | |
| 7371 | + | |
| 7372 | + | |
| 7373 | + | |
| 7374 | + | |
| 7375 | + | |
7369 | 7376 | | |
7370 | 7377 | | |
7371 | 7378 | | |
| |||
7477 | 7484 | | |
7478 | 7485 | | |
7479 | 7486 | | |
7480 | | - | |
| 7487 | + | |
7481 | 7488 | | |
7482 | 7489 | | |
7483 | 7490 | | |
| |||
7487 | 7494 | | |
7488 | 7495 | | |
7489 | 7496 | | |
7490 | | - | |
| 7497 | + | |
7491 | 7498 | | |
7492 | 7499 | | |
7493 | 7500 | | |
| |||
7499 | 7506 | | |
7500 | 7507 | | |
7501 | 7508 | | |
7502 | | - | |
| 7509 | + | |
7503 | 7510 | | |
7504 | 7511 | | |
7505 | 7512 | | |
| |||
7523 | 7530 | | |
7524 | 7531 | | |
7525 | 7532 | | |
7526 | | - | |
| 7533 | + | |
7527 | 7534 | | |
7528 | 7535 | | |
7529 | 7536 | | |
| |||
7533 | 7540 | | |
7534 | 7541 | | |
7535 | 7542 | | |
7536 | | - | |
| 7543 | + | |
7537 | 7544 | | |
7538 | 7545 | | |
7539 | 7546 | | |
| |||
7545 | 7552 | | |
7546 | 7553 | | |
7547 | 7554 | | |
7548 | | - | |
| 7555 | + | |
7549 | 7556 | | |
7550 | 7557 | | |
7551 | 7558 | | |
| |||
0 commit comments