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 martin.panter
Recipients aditya gupta, giampaolo.rodola, gvanrossum, martin.panter, nchammas, pitrou, vstinner, yselivanov
Date 2016-01-27.02:28:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453861711.75.0.83842820395.issue26188@psf.upfronthosting.co.za>
In-reply-to
Content
According to PEP 492, “await” is still allowed to be an ordinary identifier in non-async functions until Python 3.7. Which means you are still allowed to write

def oh_hai():
    await = "something"

The proposed error message would need to be smart enough to distinguish the two cases.
History
Date User Action Args
2016-01-27 02:28:31martin.pantersetrecipients: + martin.panter, gvanrossum, pitrou, vstinner, giampaolo.rodola, yselivanov, nchammas, aditya gupta
2016-01-27 02:28:31martin.pantersetmessageid: <1453861711.75.0.83842820395.issue26188@psf.upfronthosting.co.za>
2016-01-27 02:28:31martin.panterlinkissue26188 messages
2016-01-27 02:28:31martin.pantercreate