a name for the ExceptHandler.type when it is a literal tuple of types

That's this bit: ``` except (A, B): ^^^^^^ ``` bpo-43149 currently calls it an "exception group", but that conflicts with PEP 654 -- Exception Groups and except* ```
some alternatives:
exception classinfo must be parenthesized (classinfo so named from the parameter to issubclass)
exception sequence must be parenthesized
see also:
- https://github.com/python/cpython/pull/24467#discussion_r628756347
- https://www.python.org/dev/peps/pep-0654/

On Sat, May 8, 2021 at 8:54 AM Thomas Grainger <tagrain@gmail.com> wrote:
Given it requires ()s it is probably better to call it an "exception sequence" or even go fully to "exception tuple" in order to avoid confusion and tie in with the other meanings of the required syntax. -gps

There's a PR to use "SyntaxError: multiple exception types must be parenthesized" https://github.com/python/cpython/pull/25996 On Sat, 8 May 2021, 19:20 Gregory P. Smith, <greg@krypto.org> wrote:

I opened a new thread here: https://mail.python.org/archives/list/python-ideas@python.org/thread/WQOMBT4...

On Sat, May 8, 2021 at 8:54 AM Thomas Grainger <tagrain@gmail.com> wrote:
Given it requires ()s it is probably better to call it an "exception sequence" or even go fully to "exception tuple" in order to avoid confusion and tie in with the other meanings of the required syntax. -gps

There's a PR to use "SyntaxError: multiple exception types must be parenthesized" https://github.com/python/cpython/pull/25996 On Sat, 8 May 2021, 19:20 Gregory P. Smith, <greg@krypto.org> wrote:

I opened a new thread here: https://mail.python.org/archives/list/python-ideas@python.org/thread/WQOMBT4...
participants (3)
-
Gregory P. Smith
-
Guido van Rossum
-
Thomas Grainger