Skip to content

[3.9] bpo-39327: Close file descriptors as soon as possible in shutil.rmtree (GH-31384)#31450

Merged
miss-islington merged 1 commit into
python:3.9from
miss-islington:backport-b77158b-3.9
Feb 21, 2022
Merged

[3.9] bpo-39327: Close file descriptors as soon as possible in shutil.rmtree (GH-31384)#31450
miss-islington merged 1 commit into
python:3.9from
miss-islington:backport-b77158b-3.9

Conversation

@miss-islington

@miss-islington miss-islington commented Feb 20, 2022

Copy link
Copy Markdown
Contributor

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 b77158b)

Co-authored-by: Lital Natan litaln@gmail.com

https://bugs.python.org/issue39327

pythonGH-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 b77158b)

Co-authored-by: Lital Natan <litaln@gmail.com>
@miss-islington
miss-islington merged commit 959846b into python:3.9 Feb 21, 2022
@miss-islington
miss-islington deleted the backport-b77158b-3.9 branch February 21, 2022 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants