On Mon, Oct 4, 2021 at 12:07 PM Guido van Rossum <gu...@python.org> wrote:

> The question was about which style to *recommend* (a la PEP-8).
>

I think the very fact that it can't (or is difficult) be enforced, and so
in the wild we'll likely see variations that could lead to confusion, is
enough reason to find an alternative syntax.


> On Mon, Oct 4, 2021 at 8:03 AM Jonathan Goble <jcgob...@gmail.com> wrote:
>
>> On Mon, Oct 4, 2021 at 1:24 AM Guido van Rossum <gu...@python.org> wrote:
>>
>>> On Sun, Oct 3, 2021 at 9:20 PM Jonathan Goble <jcgob...@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.)
>>
>
>
> --
> --Guido van Rossum (python.org/~guido)
> *Pronouns: he/him **(why is my pronoun here?)*
> <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
> _______________________________________________
> 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/DASEBDJ6CK6U4YHRKPJ7CNQQHVWEWOLQ/
> Code of Conduct: http://python.org/psf/codeofconduct/
>


-- 

CALVIN SPEALMAN

SENIOR QUALITY ENGINEER

calvin.speal...@redhat.com  M: +1.336.210.5107
[image: https://red.ht/sig] <https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
_______________________________________________
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/ZUUNY3BOXC3JV7GXBDXY54AEHMV334IV/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to