[issue38166] ast identifies incorrect column for compound attribute lookups

Ivan Levkivskyi report at bugs.python.org
Sat Sep 21 11:04:03 EDT 2019


Ivan Levkivskyi <levkivskyi at gmail.com> added the comment:

As Serhiy explained, there is no bug here, _potentially_ we could change AST so that attribute name (i.e. "b" in "a.b") is wrapped in a special node holding the position info (similar to ``ast.arg``), but it is a breaking change and is not worth it. You can re-open your issue on PyLint tracker.

----------
nosy: +levkivskyi
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38166>
_______________________________________


More information about the Python-bugs-list mailing list