Paul Moore added the comment:

Checking the exact error could be a bit fragile. I have a feeling I recently 
saw an issue somewhere with code that stopped working on Python 3.4 because the 
precise error raised for a read-only file changed. I don't recall where the 
issue was, unfortunately.

It's also worth noting that trapping too broad a set of errors won't actually 
matter much, because the retry will simply fail again if the actual problem 
wasn't a read-only file...

----------

_______________________________________
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