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 BTaskaya, gvanrossum, lys.nikolaou, pablogsal, serhiy.storchaka
Date 2020-12-26.09:24:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608974665.39.0.235190254769.issue42737@roundup.psfhosted.org>
In-reply-to
Content
Alternatively it could be evaluated in global scope. All names are globals (non-global names do not work in MyPy in any case), yield and await are forbidden outside function. It will still perform run-time check which was an initial intention.
History
Date User Action Args
2020-12-26 09:24:25serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, lys.nikolaou, pablogsal, BTaskaya
2020-12-26 09:24:25serhiy.storchakasetmessageid: <1608974665.39.0.235190254769.issue42737@roundup.psfhosted.org>
2020-12-26 09:24:25serhiy.storchakalinkissue42737 messages
2020-12-26 09:24:25serhiy.storchakacreate