On Mon, Oct 4, 2021 at 12:07 PM Guido van Rossum <[email protected]> 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 <[email protected]> wrote: > >> On Mon, Oct 4, 2021 at 1:24 AM Guido van Rossum <[email protected]> wrote: >> >>> On Sun, Oct 3, 2021 at 9:20 PM Jonathan Goble <[email protected]> >>> 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 -- [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/DASEBDJ6CK6U4YHRKPJ7CNQQHVWEWOLQ/ > Code of Conduct: http://python.org/psf/codeofconduct/ > -- CALVIN SPEALMAN SENIOR QUALITY ENGINEER [email protected] 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 -- [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/ZUUNY3BOXC3JV7GXBDXY54AEHMV334IV/ Code of Conduct: http://python.org/psf/codeofconduct/
