[docs] [issue28942] await expressions in f-strings

Yury Selivanov report at bugs.python.org
Mon Dec 12 10:51:56 EST 2016

Yury Selivanov added the comment:

> I was going to say "no", but given that "yield" works, I think it is
reasonable to allow "await" as well. (And what about "yield from"?)


I suspect the reason is that async/await aren't proper keywords in 3.5/3.6, and the hacks we have in tokenizer to recognize them aren't working in f-strings.

I'll assign this issue to myself to make sure it's resolved in 3.7 once we make async/await keywords.

assignee: docs at python -> yselivanov

Python tracker <report at bugs.python.org>

More information about the docs mailing list