[3.13] GH-89727: Fix FD leak on `os.fwalk()` generator finalization. (GH-119766) (#119767)
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>
M
Miss Islington (bot) committed
083bf3ad1795604ee833d1595f2a536b9cd57419
Parent: 810a09a
Committed by GitHub <noreply@github.com>
on 5/30/2024, 4:40:21 AM