Marco Buttu added the comment:

I think you are right about the TAB model (Parser/tokenizer.c:40 and 
Lib/tokenize.py:215), that is why the difference between the two cases.

In any case, I am not sure whether expliciting the type of the exeption is the 
best choice. So, to me +1 to just change "should report" with "reports" in the 
proposed patch, and +0 to indicate the exeption type.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29387>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to