On Tue, Oct 5, 2021 at 10:51 AM Patrick Reader firstname.lastname@example.org wrote:
On 03/10/2021 16:47, Irit Katriel via Python-Dev wrote:
- except *E as e: // except *(E1, E2) as e:
- 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.
But it only looks like splatting because you changed it from `(E1, E2)` to `(e1, e2)` where Title Case names will look like a matched type and lower case names will look like destination names. So, given these will be class names and 99.9% Title Case, Option 1 does not really fail under your suggested confusion here.
Python-Dev mailing list -- email@example.com To unsubscribe send an email to firstname.lastname@example.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://email@example.com/message/RGIAE2HM... Code of Conduct: http://python.org/psf/codeofconduct/