[issue46237] Incorrect line reported in syntax error
Terry J. Reedy
report at bugs.python.org
Tue Jan 11 15:33:27 EST 2022
Terry J. Reedy <tjreedy at udel.edu> added the comment:
I understand. I think that for IDLE, I should check that the error .text is in the line indicated, and if not, recover somehow rather than blindly marking the the indicated column. For a shell statement entry, try to find the right line. Not sure for an editor syntax error. This is a rare situation in any case.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46237>
_______________________________________
More information about the Python-bugs-list
mailing list