summaryrefslogtreecommitdiffstats
path: root/Python/getopt.c
diff options
context:
space:
mode:
authorAlexey Izbyshev <izbyshev@ispras.ru>2022-05-05 16:46:19 (GMT)
committerGitHub <noreply@github.com>2022-05-05 16:46:19 (GMT)
commit58573ffba0e4d3c7d6e6712169578e45d2926dbd (patch)
tree7f695ae7bd7560b989c62f88425579893c089b61 /Python/getopt.c
parente65e587f9320947d73817fbe62c11d2a0fd50dfb (diff)
downloadcpython-58573ffba0e4d3c7d6e6712169578e45d2926dbd.zip
cpython-58573ffba0e4d3c7d6e6712169578e45d2926dbd.tar.gz
cpython-58573ffba0e4d3c7d6e6712169578e45d2926dbd.tar.bz2
gh-92301: subprocess: Prefer close_range() to procfs-based fd closing (#92303)
#92301: subprocess: Prefer `close_range()` to procfs-based fd closing. `close_range()` is much faster for large number of file descriptors, e.g. 4 times faster for 1000 descriptors in a Linux 5.16-based environment. We prefer close_range() only if it's known to be async-signal-safe.
Diffstat (limited to 'Python/getopt.c')
0 files changed, 0 insertions, 0 deletions