bpo-39327: Close file descriptors as soon as possible in shutil.rmtree (GH-31384)
It fixes the "Text File Busy" OSError when using 'rmtree' on a windows-managed filesystem in via the VirtualBox shared folder (and possible other scenarios like a windows-managed network file system).
L
Lital Natan committed
b77158b4da449ec5b8f682816a79d004fd65ed07
Parent: a3fcca4
Committed by GitHub <noreply@github.com>
on 2/20/2022, 4:02:10 PM