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 pablogsal
Recipients aeros, eric.smith, gvanrossum, lys.nikolaou, pablogsal, petr.viktorin, serhiy.storchaka, vstinner
Date 2020-04-29.19:11:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588187507.46.0.608923763039.issue40246@roundup.psfhosted.org>
In-reply-to
Content
> What's also possible is to handle keywords at tokenizer level

Sadly, the tokenizer is unaware of keywords (maybe except async and await because their history as soft keywords) as that distinction usually is up to the parser as the parser is the one who knows about the grammar. Introducing keywords in the tokenizer would couple them too much IMHO apart from other possible problems.
History
Date User Action Args
2020-04-29 19:11:47pablogsalsetrecipients: + pablogsal, gvanrossum, vstinner, eric.smith, petr.viktorin, serhiy.storchaka, lys.nikolaou, aeros
2020-04-29 19:11:47pablogsalsetmessageid: <1588187507.46.0.608923763039.issue40246@roundup.psfhosted.org>
2020-04-29 19:11:47pablogsallinkissue40246 messages
2020-04-29 19:11:47pablogsalcreate