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 nchammas
Recipients aditya gupta, giampaolo.rodola, gvanrossum, martin.panter, nchammas, pitrou, vstinner, yselivanov
Date 2016-02-02.13:45:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454420714.52.0.0223145837611.issue26188@psf.upfronthosting.co.za>
In-reply-to
Content
Related discussions about providing more helpful syntax error messages:

* http://bugs.python.org/issue1634034
* http://bugs.python.org/issue400734
* http://bugs.python.org/issue20608

From the discussion on issue1634034, it looks like providing better messages in the general case of a syntax error is quite difficult. But perhaps in limited cases like this one we can do better.

Parsers are a bit over my head. Martin, is it difficult to distinguish between `await` as a regular name and `await` as a special token?
History
Date User Action Args
2016-02-02 13:45:14nchammassetrecipients: + nchammas, gvanrossum, pitrou, vstinner, giampaolo.rodola, martin.panter, yselivanov, aditya gupta
2016-02-02 13:45:14nchammassetmessageid: <1454420714.52.0.0223145837611.issue26188@psf.upfronthosting.co.za>
2016-02-02 13:45:14nchammaslinkissue26188 messages
2016-02-02 13:45:14nchammascreate