[Python-ideas] Consistent programming error handling idiom
Ethan Furman
ethan at stoneleaf.us
Fri Apr 8 16:06:24 EDT 2016
On 04/08/2016 12:47 PM, Rian Hunter wrote:
>> On Apr 8, 2016, at 12:02 PM, Chris Barker wrote:
>> I agree with Chris A's point:
>>
>> Any unhandled Exception is a bug. Simple as that.
>
> I'm happy with that interpretation. If that was codified in a style
> document accessible to newbies I think that would help achieve a
> more consistent approach to exceptions.
>
> Yet something dark and hideous inside me tells me except-log loops
> will continue to be pervasive and bugs will continue to be ignored
> in a large number of Python programs.
Sadly, the language cannot force someone to investigate problems instead
of ignoring them. :(
--
~Ethan~
More information about the Python-ideas
mailing list