[issue1634034] Show "expected" token on syntax error

Ezio Melotti report at bugs.python.org
Thu Jan 10 18:04:31 CET 2013


Ezio Melotti added the comment:

I'm not saying that these errors are wrong -- just that they are misleading (i.e. they might lead the user on the wrong path, and make finding the actual problem more difficult).

It should be noted that the examples I pasted don't include a full traceback though.  The presence of the caret (^) in the right place will definitely make things clearer.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1634034>
_______________________________________


More information about the Python-bugs-list mailing list