[issue21295] Python 3.4 gives wrong col_offset for Call nodes returned from ast.parse
Mark Shannon
report at bugs.python.org
Mon Mar 9 17:02:08 CET 2015
Mark Shannon added the comment:
The column offset has always been the offset of the start of the expression. Therefore the expression `x.y` should have the same offset as the sub-expresssion `x`.
Likewise for calls, `f(args)` should have the same offset as the `f` sub expression.
Our static analysis tool is a real-world use case:
http://semmle.com/2014/06/semmle-analysis-now-includes-python/
Presumably the submitter of this issue also had a real would use case.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21295>
_______________________________________
More information about the Python-bugs-list
mailing list