[issue16806] col_offset is -1 and lineno is wrong for multiline string expressions

Ivailo Karamanolev report at bugs.python.org
Wed May 24 05:41:10 EDT 2017


Ivailo Karamanolev added the comment:

What's the status on this? Anything preventing it getting fixed? Still the same in 3.6.1:

>>> import ast
>>> ast.parse("""'''foo\n'''""").body[0].value.col_offset
-1

----------
nosy: +karamanolev

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16806>
_______________________________________


More information about the Python-bugs-list mailing list