Issue #37 resolved

catch-all except

Jakub Wilk
created an issue

polib does this in a few places:

try:
    do something
except:
    handle exceptions

This is a bad idea, because it catches all exceptions, even those you're not expecting, e.g. KeybordInterrupt or manifestations of bugs. See also: http://docs.python.org/2/howto/doanddont.html#except

Comments (1)

  1. Log in to comment