Martin Panter added the comment:

If you do go ahead and add “except Exception” clauses, maybe look around at 
what other exceptions are being handled. The other day I stumbled across this 
in “tkinter.font” module:

try:
    ...
except (KeyboardInterrupt, SystemExit):
    raise
except Exception:
    pass

It would have been simpler (and semantically equivalent) to write

try:
    ...
except Exception:
    pass

----------
nosy: +vadmium

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21259>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to