[Python-Dev] Re: PEP 654 except* formatting

2021年10月03日 13:56:02 -0700

On Sun, Oct 3, 2021 at 10:47 AM Łukasz Langa <[email protected]> wrote:
>
> I know it's a bit late for bikeshedding this thing so if we want to be
> conservative and stick to the current syntactical options already defined
> in PEP 654, I'm voting Option 2 (given the awkwardness of the *(E1, E2)
> example).
>
+1 on the `except* E` Option 2 syntax. It better conveys its uniqueness and
non-relation to other meanings of *.
Someone mentioned allowing both and letting people decide. Whatever is
chosen, please not that. There should be only one way to write this. That
avoids style arguments when no auto-formatter is involved.
-gps
>
> - Ł
> _______________________________________________
> 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/T7QZJ575RFNYZ5KMYD66YMR2ZLNDVF56/
> Code of Conduct: http://python.org/psf/codeofconduct/
>
_______________________________________________
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/T5FOZVPJ2YWIQ25HRSQ5NZ6U3YMDKI7K/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to