[Python-Dev] PEP 463: Exception-catching expressions
Antoine Pitrou
solipsis at pitrou.net
Fri Feb 21 15:50:26 CET 2014
On Sat, 22 Feb 2014 00:28:01 +1000
Nick Coghlan <ncoghlan at gmail.com> wrote:
>
> Neither of these objections addresses the problems with the status quo, though:
>
> - the status quo encourages overbroad exception handling (as
> illustrated by examples in the PEP)
I don't get this. Using the proper exception class in a "try...except"
suite is no more bothersome than using the proper exception class in
this newly-proposed construct.
Regards
Antoine.
More information about the Python-Dev
mailing list