Skip to content

[3.12] bpo-35332: Handle os.close() errors in shutil.rmtree() (GH-23766) #112763

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

miss-islington
Copy link
Contributor

  • Ignore os.close() errors when ignore_errors is True.
  • Pass os.close() errors to the error handler if specified.
  • os.close no longer retried after error.

(cherry picked from commit 11d88a1)

Co-authored-by: Zackery Spytz [email protected]
Co-authored-by: Serhiy Storchaka [email protected]

* Ignore os.close() errors when ignore_errors is True.
* Pass os.close() errors to the error handler if specified.
* os.close no longer retried after error.

(cherry picked from commit 11d88a1)

Co-authored-by: Zackery Spytz <[email protected]>
Co-authored-by: Serhiy Storchaka <[email protected]>
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.

3 participants