Author zach.ware
Recipients Jovik, ivan.radic, paul.moore, r.david.murray, tim.golden, zach.ware
Date 2014-05-06.21:17:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399411050.19.0.827833827845.issue19643@psf.upfronthosting.co.za>
In-reply-to
Content
I'm good with just adding an example to the docs, along the lines of Paul's del_rw.  I think it would be better to use a more conservative example though, something like:

   def readonly_handler(rm_func, path, exc_info):
       if issubclass(exc_info[0], PermissionError) and exc_info[1].winerror == 5:
           os.chmod(path, stat.S_IWRITE)
           return rm_func(path)
       raise exc_info[1]
History
Date User Action Args
2014-05-06 21:17:30zach.waresetrecipients: + zach.ware, paul.moore, tim.golden, r.david.murray, Jovik, ivan.radic
2014-05-06 21:17:30zach.waresetmessageid: <1399411050.19.0.827833827845.issue19643@psf.upfronthosting.co.za>
2014-05-06 21:17:30zach.warelinkissue19643 messages
2014-05-06 21:17:29zach.warecreate