[issue15872] shutil.rmtree(..., ignore_errors=True) doesn't ignore all errors

Éric Araujo report at bugs.python.org
Sat Oct 20 17:12:46 CEST 2012


Éric Araujo added the comment:

NotADirectoryError not being caught makes sense to me: not passing a directory as argument to rmtree is a programmer error, not something coming from the OS or filesystem.

----------
nosy: +eric.araujo, pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15872>
_______________________________________


More information about the Python-bugs-list mailing list