Nick Coghlan added the comment: As in, putting something either in the SyntaxError constructor or else in the parser code that emits them? I like that - the fact my initial approach broke a test was rather concerning, and a change purely on the error handling side should be much safer.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21669> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com