On Sun, Oct 6, 2013 at 9:36 PM, Mark Lawrence <breamore...@yahoo.co.uk> wrote:
> Also note that a bare except is extremely bad practice, e.g. you can't stop
> rogue programs with a CTRL-C

Or to be more accurate, a Ctrl-C will cause a jump to your except
clause. Since, in this instance, that's going to emit and die, Ctrl-C
will still stop the program. But yes, catching KeyboardInterrupt
usually isn't your intention.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to