[Python-Dev] Re: Dangerous exceptions (was Re: Another test_compilermystery) (original) (raw)
Jim Fulton jim at zope.com
Tue Sep 7 15:43:53 CEST 2004
- Previous message: [Python-Dev] Re: Dangerous exceptions (was Re: Another test_compilermystery)
- Next message: [Python-Dev] Re: Dangerous exceptions (was Re: Another test_compilermystery)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Re: Dangerous exceptions (was Re: Another test_compilermystery)
- Next message: [Python-Dev] Re: Dangerous exceptions (was Re: Another test_compilermystery)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]