diff options
author | Itamar Oren <itamarost@gmail.com> | 2025-05-31 07:29:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-31 07:29:03 -0700 |
commit | f58873e4b2b7aad8e3a08a6188c6eb08d0a3001b (patch) | |
tree | 8396002ea5bd3d69e44da2e6a97e19eff2de6cf9 /Lib/idlelib/FormatParagraph.py | |
parent | 5507eff19c757a908a2ff29dfe423e35595fda00 (diff) | |
download | cpython-f58873e4b2b7aad8e3a08a6188c6eb08d0a3001b.tar.gz cpython-f58873e4b2b7aad8e3a08a6188c6eb08d0a3001b.zip |
gh-134954: Hard-cap max file descriptors in subprocess test fd_status (#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/
Diffstat (limited to 'Lib/idlelib/FormatParagraph.py')
0 files changed, 0 insertions, 0 deletions