Emily Morehouse added the comment: The reported behavior has been verified -- the documented behavior is indeed incorrect for both Locator.getColumnNumber() and Locator.getLineNumber(). The beginning line and column numbers are returned, not the end.
This has been tested and verified for Python 2.7, Python 3.5.1 and a local build of the current default branch. ---------- keywords: +patch nosy: +emilyemorehouse versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.6 Added file: http://bugs.python.org/file43109/13784.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13784> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com