diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-05-30 04:30:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-30 04:30:37 (GMT) |
commit | d4a146d56727f456e579419cbb2bb72e6667103a (patch) | |
tree | 32f2757e7db90af5e558cd1eb68af234318d1e98 /Doc/library | |
parent | aae371bda47d4c758059264f86a3ed6cbaa15a4a (diff) | |
download | cpython-d4a146d56727f456e579419cbb2bb72e6667103a.zip cpython-d4a146d56727f456e579419cbb2bb72e6667103a.tar.gz cpython-d4a146d56727f456e579419cbb2bb72e6667103a.tar.bz2 |
[3.12] GH-89727: Fix FD leak on `os.fwalk()` generator finalization. (GH-119766) (#119768)
GH-89727: Fix FD leak on `os.fwalk()` generator finalization. (GH-119766)
Follow-up to 3c890b50. Ensure we `os.close()` open file descriptors when
the `os.fwalk()` generator is finalized.
(cherry picked from commit a5fef800d31648d19cecc240a2fa0dc71371753e)
Co-authored-by: Barney Gale <barney.gale@gmail.com>
Diffstat (limited to 'Doc/library')
0 files changed, 0 insertions, 0 deletions