[Python-ideas] Consistent programming error handling idiom

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Apr 8 17:18:41 EDT 2016


On 08/04/2016 21:50, Rian Hunter wrote:
>
> I think bare except is different from "except Exception" which is common
> and not discouraged. "except Exception" still masks programming errors.
>

"except Exception" is a programming error as far as I'm concerned, but 
I'm not expecting my own code to keep running 24/7/365.  Horses for courses.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence



More information about the Python-ideas mailing list