cpython/Lib/test/test_inspect
Bénédikt Tran 0038b58ac9
[3.13] gh-143698: correctly check scheduler and setpgroup values for os.posix_spawn[p] (GH-143699) (#145074)
* [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 347fc438cf)
2026-02-21 16:05:57 +01:00
..
__init__.py
inspect_fodder.py gh-101860: Expose __name__ on property (GH-101876) 2024-02-20 17:14:34 +02:00
inspect_fodder2.py [3.13] gh-139783: Fix inspect.getsourcelines() for the case when a decorator is followed by a comment or an empty line (GH-139836) (GH-139890) 2025-10-10 21:26:36 +00:00
inspect_stock_annotations.py
inspect_stringized_annotations.py
inspect_stringized_annotations_2.py
inspect_stringized_annotations_pep695.py [3.13] Add some more edge-case tests for inspect.get_annotations with eval_str=True (GH-120550) (#120551) 2024-06-15 13:16:40 +00:00
test_inspect.py [3.13] gh-143698: correctly check scheduler and setpgroup values for os.posix_spawn[p] (GH-143699) (#145074) 2026-02-21 16:05:57 +01:00