try... except with unknown error types

Seebs usenet-nospam at
Sat Aug 20 07:46:39 CEST 2011

On 2011-08-19, Steven D'Aprano <steve+comp.lang.python at> wrote:
> Even if you don't think it's the ethical thing to do, consider that someday
> you might be maintaining code written by the OP :)

A common further conclusion people reach is "but then I will be able to get
a job fixing it!"

Trust me, this is NOT where you want to go.  :)

Copyright 2011, all wrongs reversed.  Peter Seebach / usenet-nospam at <-- lawsuits, religion, and funny pictures <-- get educated!
I am not speaking for my employer, although they do rent some of my opinions.

More information about the Python-list mailing list