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 ammar2
Recipients Conor Cal, ammar2, yselivanov
Date 2017-09-06.06:39:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504679953.47.0.694425962388.issue31362@psf.upfronthosting.co.za>
In-reply-to
Content
For what its worth, "async" and "await" are special keywords. They only act as keywords under certain situations by the tokenizer. You can read more about this here: https://www.python.org/dev/peps/pep-0492/#transition-plan

As far as I am aware, this special casing exists even in the latest version: https://github.com/python/cpython/blob/master/Parser/tokenizer.c#L1553-L1588
History
Date User Action Args
2017-09-06 06:39:13ammar2setrecipients: + ammar2, yselivanov, Conor Cal
2017-09-06 06:39:13ammar2setmessageid: <1504679953.47.0.694425962388.issue31362@psf.upfronthosting.co.za>
2017-09-06 06:39:13ammar2linkissue31362 messages
2017-09-06 06:39:13ammar2create