On 2021-10-04 16:02, Jonathan Goble wrote:
On Mon, Oct 4, 2021 at 1:24 AM Guido van Rossum <guido@python.org <mailto:guido@python.org>> wrote:
On Sun, Oct 3, 2021 at 9:20 PM Jonathan Goble <jcgoble3@gmail.com <mailto:jcgoble3@gmail.com>> wrote:
Therefore my vote is for requiring `except* E` and keeping `except *E` as a SyntaxError.
You can't do that with our current lexer+parser.
Then what is the purpose of this thread? I understood from the OP that the question was which to allow and which to prohibit. If it's impossible to require either or prohibit either because the lexer/parser can't tell the difference, then it's going to end up as a never-ending style argument just like C pointers, so what are we even discussing? (Other than an entirely different syntax, of course, which now seems like the logical way to go if we can't enforce a single way to do it with the original proposal.) The key phrase is """in any case we need to settle on a convention that we use in documentation, etc.""".