try... except with unknown error types

Steven D'Aprano steve+comp.lang.python at pearwood.info
Tue Aug 23 04:33:06 EDT 2011


On Mon, 22 Aug 2011 04:26 am Paul Rubin wrote:

> The Erlang approach is tempting.  Don't catch the exception at all--just
> let the process crash, and restart it.  But that's a more heavyweight
> operation in Python.

You might be interested in this paper:

http://usenix.org/events/hotos03/tech/full_papers/candea/candea.pdf


-- 
Steven




More information about the Python-list mailing list