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 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 <>
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]
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: <>
2014-05-06 21:17:30zach.warelinkissue19643 messages
2014-05-06 21:17:29zach.warecreate