Spencer Judge added the comment:

Although this is closed, I stumbled across it while looking to see if this 
behavior had changed at all recently, and I have a suggestion I think might 
work.

How about we take Tim's example error function which was added to the docs, and 
it's bound to something like shutil.REMOVE_WINDOWS_READONLY, so it can be used 
in the following way (probably with a better name):

shutil.rmtree("C:/readonlyfilesinhere", onerror=shutil.REMOVE_WINDOWS_READONLY)

Good idea? Too weird?

----------
nosy: +sushisource

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19643>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to