[Tutor] Callbacks and exception handling

Pete pkoek11 at xs4all.nl
Fri Aug 13 05:24:59 CEST 2010


> By the way, don't be tempted to write a bare except clause:
> 
> try:
>  ...
> except:
>  ...
> 
> There are very few reasons for such a thing, as they are too broad and 
> catch too many things, masking errors, preventing user keyboard 
> interrupts, etc. Avoid them.

Doh! That is what I did :)

Thanks Steve!

-Pete


More information about the Tutor mailing list