[Python-Dev] Re: Dangerous exceptions (was Re: Another test_compilermystery)

Jim Fulton jim at zope.com
Tue Sep 7 15:43:53 CEST 2004


Jeremy Hylton wrote:

...

>  I
> think it would be easier in principle to put them at a different place
> in the class hierarchy than to make them some special kind of
> uncatchable exception.

Note that we don't want uncatchable exceptions. Rather, we want
exceptions that aren't caught by bare excepts or very broad
excepts.  In many cases, we want certain knowledgeable code to be able
to catch these exceptions.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the Python-Dev mailing list