Re:Postmodern Error Handling in Python 3.6
by syrrim on Saturday February 25, 2017 @08:07PM
(#13735009)
except Exception: is useful when you have two alternate ways of accomplishing a goal; one default that might fail, and one extra that is less complete. Although you might only expect a certain error, since you have an alternate, you might as well use it for all errors.
[ Parent
| on HN ]
There are no comments on this comment yet.