On Mon, 2006-03-20 at 08:18 -0800, Aahz wrote:
-1 -- I occasionally use exceptions as a multi-loop break. That's a perfectly valid Python practice, those exceptions should inherit from Exception, and there should not be any warnings raised.
Exactly! But they're not errors, so "except Exception" should catch them but "except Error" <wink> should not. This does speak to a generic ControlFlow (but not ControlFlowError) base class.