[Zope-dev] Greedy except clauses

Chris Withers chrisw@nipltd.com
Sun, 11 Feb 2001 15:16:47 +0000


Jeremy Hylton wrote:
> 
> I am probably a bit idiosyncratic, but I prefer to avoid bare excepts
> at all costs.  I often use "except Exception:", otherwise I add a

Will that catch string exceptions? 
eg: raise 'Something bad happened'

If not, then it's not much use in Zope, which is unfortunately riddled with
String exceptions :-S

cheers,

Chris