mirror of
https://github.com/python/cpython.git
synced 2025-11-03 15:11:34 +00:00
gh-134954: Hard-cap max file descriptors in subprocess test fd_status (GH-134955)
* Hard-cap max file descriptors in subprocess test fd_status
On some systems, `SC_OPEN_MAX` may return a very large value (i.e. 10**30), leading to the subprocess test timing out (or run forever).
Prevent this situation by applying a hard cap on how many file descriptors are checked.
* Fix typo in usage docstring
s/fd_stats/fd_status/
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| fd_status.py | ||
| input_reader.py | ||
| qcat.py | ||
| qgrep.py | ||
| sigchild_ignore.py | ||