Message361338
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. |
|
Date |
User |
Action |
Args |
2020-02-04 07:27:40 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, eric.smith, docs@python, Mariatta |
2020-02-04 07:27:40 | serhiy.storchaka | set | messageid: <1580801260.11.0.871767440739.issue39545@roundup.psfhosted.org> |
2020-02-04 07:27:40 | serhiy.storchaka | link | issue39545 messages |
2020-02-04 07:27:40 | serhiy.storchaka | create | |
|