[issue10769] ast: provide more useful range information
Terry J. Reedy
report at bugs.python.org
Sat Dec 25 17:47:41 CET 2010
Terry J. Reedy <tjreedy at udel.edu> added the comment:
FWIW, I find the current behavior for attributes to be surprising, to the point where at first glance it almost looks like a bug. Which is to say, I would have expected 'col' to point to the first non-whitespace column after the '.'. If there are multiple attributes, a.b.c.d, then to me, each node should point to its appropriate place, just as with a[b][c].
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10769>
_______________________________________
More information about the Python-bugs-list
mailing list