This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Mariatta, docs@python, eric.smith, serhiy.storchaka
Date 2020-02-04.07:27:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580801260.11.0.871767440739.issue39545@roundup.psfhosted.org>
In-reply-to
Content
Yes, await was recognized only in asynchronous functions. f-strings involve a separate parsing step for subexpressions, and it is not aware that it is in an asynchronous function. Seems the fix was unintentional, but it should documented in any case.
History
Date User Action Args
2020-02-04 07:27:40serhiy.storchakasetrecipients: + serhiy.storchaka, eric.smith, docs@python, Mariatta
2020-02-04 07:27:40serhiy.storchakasetmessageid: <1580801260.11.0.871767440739.issue39545@roundup.psfhosted.org>
2020-02-04 07:27:40serhiy.storchakalinkissue39545 messages
2020-02-04 07:27:40serhiy.storchakacreate