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 yselivanov
Recipients anish.shah, brett.cannon, giampaolo.rodola, gvanrossum, marco.buttu, ned.deily, yselivanov
Date 2016-09-12.19:05:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473707141.57.0.945084738503.issue26182@psf.upfronthosting.co.za>
In-reply-to
Content
Ned, would it be OK to commit this patch after b1?

async/await are scheduled to become real keywords in 3.7.  Right now they are only keywords in 'async def' blocks, meaning that it's OK to have a class with 'async' or 'await' attributes.

So this will be a backwards compatibility breaking change in 3.7.  This patch makes Python to emit a warning each time you use async or await as an attribute/variable/etc.
History
Date User Action Args
2016-09-12 19:05:41yselivanovsetrecipients: + yselivanov, gvanrossum, brett.cannon, giampaolo.rodola, ned.deily, marco.buttu, anish.shah
2016-09-12 19:05:41yselivanovsetmessageid: <1473707141.57.0.945084738503.issue26182@psf.upfronthosting.co.za>
2016-09-12 19:05:41yselivanovlinkissue26182 messages
2016-09-12 19:05:41yselivanovcreate