]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39327: Close file descriptors as soon as possible in shutil.rmtree (GH-31384)
authorLital Natan <litaln@gmail.com>
Sun, 20 Feb 2022 16:02:10 +0000 (18:02 +0200)
committerGitHub <noreply@github.com>
Sun, 20 Feb 2022 16:02:10 +0000 (18:02 +0200)
commitb77158b4da449ec5b8f682816a79d004fd65ed07
tree5ae53fae7db1b0633e730a175a8a62120385deff
parenta3fcca4af1cb418dc802feb75100ecc1a286afaa
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).
Lib/shutil.py
Misc/ACKS
Misc/NEWS.d/next/Library/2022-02-17-13-10-50.bpo-39327.ytIT7Z.rst [new file with mode: 0644]