Skip to content

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

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

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

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

Copy link
Copy Markdown
Contributor Author

@smackware and @serhiy-storchaka: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington

Copy link
Copy Markdown
Contributor Author

@smackware and @serhiy-storchaka: Status check is done, and it's a success ✅ .

@miss-islington
miss-islington merged commit 95d6271 into python:3.10 Feb 21, 2022
@miss-islington
miss-islington deleted the backport-b77158b-3.10 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