]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109981: Resolve situation on iOS regarding fd_count. (#132823)
authorJohn <johnzhou721@gmail.com>
Wed, 23 Apr 2025 03:22:57 +0000 (22:22 -0500)
committerGitHub <noreply@github.com>
Wed, 23 Apr 2025 03:22:57 +0000 (03:22 +0000)
commit862fd890361005598a6f4614ea0608c8447831c2
treeb88906961a94e284c2d3bc8d9e3cc2c04c8b1314
parentb5bf8c80a921679b23548453565f6fd1f79901f2
gh-109981: Resolve situation on iOS regarding fd_count. (#132823)

Modifies the test helper that counts the list of open file descriptors to use
the optimised ``/dev/fd`` approach on all Apple platforms, not just macOS. This
avoids crashes caused by guarded file descriptors.
Lib/test/support/os_helper.py
Misc/NEWS.d/next/Tests/2025-04-23-02-23-37.gh-issue-109981.IX3k8p.rst [new file with mode: 0644]