➜

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.

作者 quentel
收信人 JelleZijlstra, giampaolo.rodola, gvanrossum, quentel, rhettinger, vstinner, yselivanov
日期 2017-11-04.09:19:57
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1509787197.61.0.213398074469.issue30406@psf.upfronthosting.co.za>
In-reply-to
内容
According to PEP 492, async and await should have been deprecated in 3.5 and 3.6, but I don't think they have been :

await = 1
def f(async=True):
    ...

don't raise any deprecation warning in 3.6.

Since version 3.7 will break existing code with a SyntaxError, could it be possible to have something explicit in the SyntaxError message for these new keywords, for instance

SyntaxError : 'async' is a keyword

I don't speack C so I can't provide a patch, sorry.
历史
日期 用户 动作 参数
2017-11-04 09:19:57quentel修改recipients: + quentel, gvanrossum, rhettinger, vstinner, giampaolo.rodola, yselivanov, JelleZijlstra
2017-11-04 09:19:57quentel修改messageid: <1509787197.61.0.213398074469.issue30406@psf.upfronthosting.co.za>
2017-11-04 09:19:57quentel链接issue30406 messages
2017-11-04 09:19:57quentel创建