Author pablogsal
Recipients BTaskaya, Guido.van.Rossum, Mark.Shannon, gvanrossum, larry, lys.nikolaou, pablogsal, serhiy.storchaka
Date 2021-04-24.16:12:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
>  I just thought having a whole “expr-without-walrus-or-yield” subgrammar would be tedious.

Yeah I have experimented with something similar in the past and this becomes out of hand super quickly and leafs to a lot of duplication.

Similarly, a flag that conditionally accept some rules can be quite tricky to hey right with the backtracking and those require some extra metagrammar so adding the flag is not super unreadable. 

In my humble opinion, I think is far simpler to reject this after the parsing is done, either in the compiler or the symbol table.
Date User Action Args
2021-04-24 16:12:12pablogsalsetrecipients: + pablogsal, gvanrossum, larry, Mark.Shannon, serhiy.storchaka, Guido.van.Rossum, lys.nikolaou, BTaskaya
2021-04-24 16:12:12pablogsalsetmessageid: <>
2021-04-24 16:12:12pablogsallinkissue42725 messages
2021-04-24 16:12:12pablogsalcreate