Message 276091 - Python tracker (original) (raw)

Message276091

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:41 yselivanov set recipients: + yselivanov, gvanrossum, brett.cannon, giampaolo.rodola, ned.deily, marco.buttu, anish.shah
2016-09-12 19:05:41 yselivanov set messageid: 1473707141.57.0.945084738503.issue26182@psf.upfronthosting.co.za
2016-09-12 19:05:41 yselivanov link issue26182 messages
2016-09-12 19:05:41 yselivanov create