Title: shutil.rmtree(..., ignore_errors=True) doesn't ignore errors from os.close()
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.8, Python 3.7, Python 3.6
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: David.Edelsohn, rabraham
Priority: normal Keywords:

Created on 2018-11-27 19:51 by rabraham, last changed 2018-12-01 17:22 by rabraham.

Messages (2)
msg330553 - (view) Author: Ronal Abraham (rabraham) Date: 2018-11-27 19:51
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":

Should there be try-except blocks around these lines and calls to onerror(...)?
msg330856 - (view) Author: Ronal Abraham (rabraham) Date: 2018-12-01 17:22
I forgot to mention: the exception raised is an OSError and the errno is 52 (ESTALE on AIX).
Date User Action Args
2018-12-01 17:22:44rabrahamsetmessages: + msg330856
2018-11-28 16:18:48SilentGhostsetnosy: + David.Edelsohn
2018-11-27 19:51:53rabrahamcreate