diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2025-05-31 14:51:48 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-31 14:51:48 (GMT) |
| commit | 379c4a2002900fba5d327a2c64fbce60d121c264 (patch) | |
| tree | d9c5cee9369ad384fab0d015983e8114e0d85929 /Python/pythonrun.c | |
| parent | 366a7902a000423988cbcece40f8264797610de6 (diff) | |
| download | cpython-379c4a2002900fba5d327a2c64fbce60d121c264.zip cpython-379c4a2002900fba5d327a2c64fbce60d121c264.tar.gz cpython-379c4a2002900fba5d327a2c64fbce60d121c264.tar.bz2 | |
[3.13] gh-134954: Hard-cap max file descriptors in subprocess test fd_status (GH-134955) (#134981)
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 f58873e4b2b7aad8e3a08a6188c6eb08d0a3001b)
Co-authored-by: Itamar Oren <itamarost@gmail.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
