[Python-ideas] With expressions

Eric Fahlgren ericfahlgren at gmail.com
Fri Aug 3 20:35:45 EDT 2018


On Fri, Aug 3, 2018 at 5:26 PM Abe Dillon <abedillon at gmail.com> wrote:

> One last thing:
>
> Since expressions tend to have pretty limited space, it might be worth it
> to consider more concise options like maybe instead of:
>
> <expression1> except (Exception[-list])[ as e]): <expression2>
>

You're reinventing PEP 463:

https://www.python.org/dev/peps/pep-0463/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180803/64b4e7f5/attachment.html>


More information about the Python-ideas mailing list