[3.12] bpo-35332: Handle os.close() errors in shutil.rmtree() (GH-23766) (GH-112763)
* 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 11d88a178b077e42025da538b890db3151a47070) Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
M
Miss Islington (bot) committed
e63bb9caf08d7f36372f258efa287e676a161587
Parent: 5acfb82
Committed by GitHub <noreply@github.com>
on 12/5/2023, 5:38:44 PM