On 10/4/2021 9:57 AM, Ammar Askar wrote:
Throwing in another +1 for `except group`.
It's explicit, doesn't introduce new punctuation and avoids confusion
with unpacking.
I agree for same reasons. And avoids more bikeshedding.
I checked and if 'except group' is added to keyword.kwlist *before*
'except', the pair is recognized as a keyword phrase by IDLE's syntax
highlighter without any change. ('except\s*group' would take care of
variable spacing)
--
Terry Jan Reedy
_______________________________________________
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/EYS6Q53UN2KDBH2VM4KA7DVRL76KJYVX/
Code of Conduct: http://python.org/psf/codeofconduct/