Benjamin Kaplan <benjamin.kap...@case.edu> writes: >> FYI, your code above is (almost) exactly equivalent to the simpler > > They aren't equivalent. "except Exception" won't catch KeyboardInterrupt or > SystemExit or a few others that you really don't want to catch in a generic > error handler. You should almost never have a bare except.
I know, that's why I added "(almost)", I was just trying to explain why he wasn't able to see the problem. Thanks for pointing out the difference, ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it | -- Fortunato Depero, 1929. -- http://mail.python.org/mailman/listinfo/python-list