Nicholas Chammas added the comment: 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? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26188> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com