This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.golden
Recipients Jovik, ivan.radic, paul.moore, r.david.murray, tim.golden, zach.ware
Date 2014-05-07.10:17:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The attached patch adds an example to the shutil documentation showing how to use an onerror handler to reattempt the removal of a read-only file. It's deliberately low-tech and simply removes the attribute and retries. If there's some other obstacle, it will continue to fail as it would have done in any case.
Date User Action Args
2014-05-07 10:17:08tim.goldensetrecipients: + tim.golden, paul.moore, r.david.murray, zach.ware, Jovik, ivan.radic
2014-05-07 10:17:08tim.goldensetmessageid: <>
2014-05-07 10:17:08tim.goldenlinkissue19643 messages
2014-05-07 10:17:07tim.goldencreate