> On 6 Oct 2021, at 18:14, Brandt Bucher <[email protected]> wrote: > > Łukasz Langa wrote: >> Joking aside, since we allow any expression after 'except' 'group' then this >> is indeed ambiguous. In theory! > > The ambiguity with function calls, though, is probably a dealbreaker: > > except group (E1, E2) as e: … > except group(E1, E2) as e: …
Ding ding, we have a winner. This single-handedly kills the "except group" syntax proposal. > See my other message for an alternative (putting “group” after the > expression). It's interesting but at this point not so clearly better than except* to my eyes. Unless everybody else loves it, I don't think we'll go there. - Ł
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/KPZLQSC6ADVP26FI3MJIMARSOQRHVRCW/ Code of Conduct: http://python.org/psf/codeofconduct/
