Modern recommended exception handling practices?

Paul Rubin no.email at nospam.invalid
Tue Nov 3 14:59:24 EST 2015


Chris Angelico <rosuav at gmail.com> writes:
> Aside from string exceptions and the "except Type, e:" syntax, I would
> agree with you. Actually, I can't think of any "obsolete
> exception-handling practices" in any language. 

I'd say that context managers are a big recent improvement in Python
over dealing with a lot of exceptions explicitly.



More information about the Python-list mailing list