This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients blueyed, martin.panter
Date 2017-09-16.23:11:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Some relevant info I wrote in Issue 25677:

‘The caret points to the character _before_ offset. . . . In some cases (e.g. the line “1 +”), the offset is the string index _after_ the error. But in the case of “1;1 + 1 = 2”, offset is the index where the error (statement) begins.’

In this case it looks like the offset is of the end of the first word on the line that has the wrong indentation. The caret is positioned one position back, to point at the last character of that word.
Date User Action Args
2017-09-16 23:11:52martin.pantersetrecipients: + martin.panter, blueyed
2017-09-16 23:11:52martin.pantersetmessageid: <>
2017-09-16 23:11:51martin.panterlinkissue31495 messages
2017-09-16 23:11:51martin.pantercreate