Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

I theorize that this happens when the error points to the end of the line. I 
assume that the difference between col_offset and PyUnicode_GET_LENGTH(line) 
may be still bigger than 1 if the line contains some Unicode stuff like with:

>> "Ṕýţĥòñ" +

but I think that would be the same situation.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40958>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to