[issue10769] ast: provide more useful range information

Sven Brauch report at bugs.python.org
Sat Dec 25 00:17:41 CET 2010


Sven Brauch <svenbrauch at googlemail.com> added the comment:

Hi Terry,

well, the current behaviour is... logical in some way, as it says "the whole expression which accesses an attribute starts at column 0", i.e. it's easy to understand why it's done like this. It just turns out that this is pretty useless...

I'll try to find out what changes would be needed in the code to make the col_offset attribute useful in this case.

Best regards,
Sven

----------

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


More information about the Python-bugs-list mailing list