The Most Diabolical Python Antipattern

Chris Angelico rosuav at gmail.com
Fri Jan 30 16:55:57 CET 2015


On Sat, Jan 31, 2015 at 2:42 AM, Ian Kelly <ian.g.kelly at gmail.com> wrote:
> Like I suggested earlier, just don't catch the inner exception at all.
> The result will be both exceptions propagated, chained in the proper
> order.

So many MANY times, the best thing to do with unrecognized exceptions
is simply to not catch them.

ChrisA



More information about the Python-list mailing list