[issue35332] shutil.rmtree(..., ignore_errors=True) doesn't ignore errors from os.close()

2021-07-15 Thread Andrei Kulakov
Andrei Kulakov added the comment: May be related: https://bugs.python.org/issue43666 -- ___ Python tracker ___ ___

[issue35332] shutil.rmtree(..., ignore_errors=True) doesn't ignore errors from os.close()

2021-07-15 Thread Andrei Kulakov
Andrei Kulakov added the comment: I've looked a bit into this and it seems like ESTALE can be caused in two cases: - Under WPAR environment https://www.ibm.com/docs/en/aix/7.1?topic=aix-wpar-concepts https://www.ibm.com/support/pages/apar/IV50544 > When using WPAR setup under AIX, with each

[issue35332] shutil.rmtree(..., ignore_errors=True) doesn't ignore errors from os.close()

2020-12-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I am wondering whether we should silence that error in os.close() unconditionally. In what circumstances the error is raised? Can it be reproduced on Linux (by monkey-patching os.rmdir)? What can happen in worst case when the error is ignored?

[issue35332] shutil.rmtree(..., ignore_errors=True) doesn't ignore errors from os.close()

2020-12-14 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 2.0 -> 3.0 pull_requests: +22622 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23766 ___ Python tracker

[issue35332] shutil.rmtree(..., ignore_errors=True) doesn't ignore errors from os.close()

2018-12-01 Thread Ronal Abraham
Ronal Abraham added the comment: I forgot to mention: the exception raised is an OSError and the errno is 52 (ESTALE on AIX). -- ___ Python tracker ___

[issue35332] shutil.rmtree(..., ignore_errors=True) doesn't ignore errors from os.close()

2018-11-28 Thread SilentGhost
Change by SilentGhost : -- nosy: +David.Edelsohn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35332] shutil.rmtree(..., ignore_errors=True) doesn't ignore errors from os.close()

2018-11-27 Thread Ronal Abraham
New submission from Ronal Abraham : These lines throw intermittently for me on AIX when removing a directory on NFS (python version 3.6.6-1), even when "ignore_errors=True": https://github.com/python/cpython/blob/v3.6.6rc1/Lib/shutil.py#L433