News for hackers. Stuff that matters.
Re:Postmodern Error Handling in Python 3.6 by jwilk on Saturday February 25, 2017 @07:06AM (#13731239)

    try:
        ...
    except (NameError, AttributeError, TypeError):
        # likely programming error
        raise
    except Exception:
        ...
Not pretty, but maybe better than catching every exception.

There are no comments on this comment yet.