
Oct. 6, 2021
9:14 a.m.
Ł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: … See my other message for an alternative (putting “group” after the expression). Brandt