Author gvanrossum
Recipients BTaskaya, Mark.Shannon, gvanrossum, larry, lys.nikolaou, pablogsal, serhiy.storchaka
Date 2021-04-24.02:21:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
So shouldn't we just rule out some specific bits of syntax in annotations? That can be done after the PEG grammar has accepted them, otherwise we'd end up having a whole new expression-like grammar section that excludes them. I think this is the list we should exclude, right?

- yield [from]
- walrus
- await (?)

I agree await technically doesn't need to be in this list, so maybe we shouldn't explicitly exclude it -- it's no different than writing

def f(x: open(filename).read()):
Date User Action Args
2021-04-24 02:21:41gvanrossumsetrecipients: + gvanrossum, larry, Mark.Shannon, serhiy.storchaka, lys.nikolaou, pablogsal, BTaskaya
2021-04-24 02:21:41gvanrossumsetmessageid: <>
2021-04-24 02:21:41gvanrossumlinkissue42725 messages
2021-04-24 02:21:40gvanrossumcreate