commit | 95d6271f1997580f8cb8a2985d0cd48af912763f | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Mon Feb 21 00:07:46 2022 -0800 |
committer | GitHub <noreply@github.com> | Mon Feb 21 00:07:46 2022 -0800 |
tree | 57fd2b0a90817075a05792b13d87f787ba9c7d2d | |
parent | a2e13ec0ce050a9050ec195ec0cc2a540912480d [diff] |
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). (cherry picked from commit b77158b4da449ec5b8f682816a79d004fd65ed07) Co-authored-by: Lital Natan <litaln@gmail.com>