[issue25930] os.unlink != os.remove in python3.5

Anthony Sottile report at bugs.python.org
Tue Dec 22 19:21:42 EST 2015


Anthony Sottile added the comment:

When calling shutil.rmtree on windows on a readonly directory, the error handler is called with os.unlink as the first argument `func` which fails the check `func in (os.rmdir, os.remove)` which succeeded on previous python versions

----------

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


More information about the Python-bugs-list mailing list