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 gvanrossum
Recipients aroberge, gvanrossum, lys.nikolaou, miss-islington, pablogsal, terry.reedy
Date 2021-03-22.23:50:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1616457043.33.0.0399283667858.issue43555@roundup.psfhosted.org>
In-reply-to
Content
We should definitely document the column offset being 1-based, if it hasn't been already. But be careful, there are some APIs that are 0-based and others that are 1-based, for column offsets.

I was quite surprised at some point to find out that we were inconsistent with the column offset, and then I looked at what Emacs and vim do, and I found that both interpret column offsets (in the familiar "filename:lineno:offset: message" format) as 1-based. IIRC I had to fix it in quite a few places because we were actually being inconsistent.
History
Date User Action Args
2021-03-22 23:50:43gvanrossumsetrecipients: + gvanrossum, terry.reedy, aroberge, lys.nikolaou, pablogsal, miss-islington
2021-03-22 23:50:43gvanrossumsetmessageid: <1616457043.33.0.0399283667858.issue43555@roundup.psfhosted.org>
2021-03-22 23:50:43gvanrossumlinkissue43555 messages
2021-03-22 23:50:43gvanrossumcreate