Alessandro Moura added the comment: Yes, confirmed. When checking whether the provided path is a directory, rmtree does not check whether ignore_errors is set. According to the docstring, "If ignore_errors is set, errors are ignored". Presumably this means any error, in which case this is not the desired behaviour.
The attached patch fixes this. ---------- keywords: +patch nosy: +eng793 Added file: http://bugs.python.org/file27138/shutil.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15872> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com