On 03/10/2021 16:59, Patrick Reader wrote:
> On 03/10/2021 16:47, Irit Katriel via Python-Dev wrote:
>>> 1. except *E as e: // except *(E1, E2) as e:
>>> 2. except* E as e: // except* (E1, E2) as e:
>
> I vote #2, because `except *(e1, e2) as e:` could imply that this is
> splatting an arbitrary expression there - it looks like it will match any
> number of dynamically chosen exception types.
>
(that could be a useful feature actually (so maybe the * syntax should be
reserved??), but that's another discussion)
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/python-dev@python.org/message/EAPQS342PWERAKVS4XHFYYSXVOK6LFHZ/
Code of Conduct: http://python.org/psf/codeofconduct/