Florent Xicluna added the comment: Hello again,
actually, the attached script demonstrates some issues with the computation of the offset. In rare cases, the computed offset does not match the position of the caret '^' in the traceback. It makes it difficult to reuse exc.offset to display the exact position. ---------- Added file: http://bugs.python.org/file30033/issue17825_cases.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17825> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com