On 01/03/2017 01:41 PM, breamore...@gmail.com wrote:

> Hi all, I'd suggest that this [1] is not one of the greatest articles
>  ever written about Python exception handling.  Other opinions are welcome.

Aside from calling "except Exception" a "naked except" I think it's decent.  He 
walks through the problem, explains the rationale, and only has one line of 
code guarded by the except clause.

--
~Ethan~

[1] http://blog.pyspoken.com/2017/01/02/how-best-to-coerce-python-objects-to-in 
tegers/

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to