[Python-ideas] Single line single expression try/except syntax
benrudiak at gmail.com
Sun Jan 27 22:21:36 EST 2019
Aren't the arguments for accepting PEP 463 basically the same as the
arguments for accepting assignment expressions? The current syntax is
painfully verbose and people use inefficient and ad hoc constructions to
get around it. Better to have a language feature to support the way that
people actually want to write code.
If Guido wrote that rejection of PEP 463 then I can't help thinking that he
changed his perspective between then and PEP 572 and might have
accepted PEP 463 if it had been proposed more recently. (I'm aware of the
drama surrounding PEP 572, but still.)
On Sun, Jan 27, 2019 at 1:04 PM Michael Selik <mike at selik.org> wrote:
> Any discussion of except expressions should reference PEP 463 and respond
> to the arguments there.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas