[3.11] bpo-35332: Handle os.close() errors in shutil.rmtree() (GH-23766) (GH-112764)
* 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
54ca4c64d0d579b8a1dfc7a7ea4f48461eb10073
Parent: 23920a0
Committed by GitHub <noreply@github.com>
on 12/5/2023, 7:25:52 PM