summaryrefslogtreecommitdiffstats
path: root/Python/generated_cases.c.h
diff options
context:
space:
mode:
authorcptpcrd <31829097+cptpcrd@users.noreply.github.com>2023-05-16 20:23:53 (GMT)
committerGitHub <noreply@github.com>2023-05-16 20:23:53 (GMT)
commit3a4c44bb1e92802db64deec59cf8a68ad3973219 (patch)
tree471b049b0accb0e66ec2f4a8e6873a3b6f30b9d8 /Python/generated_cases.c.h
parent20e994c535fea33b827e69323f80fec056a76250 (diff)
downloadcpython-3a4c44bb1e92802db64deec59cf8a68ad3973219.zip
cpython-3a4c44bb1e92802db64deec59cf8a68ad3973219.tar.gz
cpython-3a4c44bb1e92802db64deec59cf8a68ad3973219.tar.bz2
gh-87474: Fix file descriptor leaks in subprocess.Popen (#96351)
This fixes several ways file descriptors could be leaked from `subprocess.Popen` constructor during error conditions by opening them later and using a context manager "fds to close" registration scheme to ensure they get closed before returning. --------- Co-authored-by: Gregory P. Smith [Google] <greg@krypto.org>
Diffstat (limited to 'Python/generated_cases.c.h')
0 files changed, 0 insertions, 0 deletions