Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 31, 2025

  • 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 f58873e)

Co-authored-by: Itamar Oren [email protected]

…status (pythonGH-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 f58873e)

Co-authored-by: Itamar Oren <[email protected]>
@gpshead gpshead enabled auto-merge (squash) May 31, 2025 14:30
@gpshead gpshead merged commit 379c4a2 into python:3.13 May 31, 2025
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants