[Python-Dev] PEP 463: Exception-catching expressions

Eric Snow ericsnowcurrently at gmail.com
Fri Feb 21 17:57:16 CET 2014


On Fri, Feb 21, 2014 at 8:27 AM, Chris Angelico <rosuav at gmail.com> wrote:
> It doesn't need to save a huge number of lines. Just like lambda and
> the if/else expression, it's there as a tool - if it makes your code
> easier to read, it's a good too, and if it makes it harder, then don't
> use it.

And as long as the tool/syntax is obviously linked to an existing one
(and does not change semantics), people really won't need to learn
anything new.  So it wouldn't be adding much to the keep-it-in-my-head
size of the language.

-eric


More information about the Python-Dev mailing list