Message229538
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? |
|
Date |
User |
Action |
Args |
2014-10-16 16:58:43 | sushisource | set | recipients:
+ sushisource, paul.moore, tim.golden, r.david.murray, python-dev, zach.ware, Jovik, ivan.radic |
2014-10-16 16:58:43 | sushisource | set | messageid: <1413478723.65.0.474391517807.issue19643@psf.upfronthosting.co.za> |
2014-10-16 16:58:43 | sushisource | link | issue19643 messages |
2014-10-16 16:58:43 | sushisource | create | |
|