New submission from Igor Bronshteyn:
Quoting Collin Winter:
"I'd like there to be an Else() node for If.orelse, While.orelse, etc. My
motivation is that I need the lineno and col_offset values of the "else"
statement for a code-coverage utility; as it is, I have to find the
Igor Bronshteyn added the comment:
I mean, that AST generated with standard "ast.parse" has nodes with confusing
positions. Sorry for the first indistinct message.
--
___
Python tracker
<http://bugs.python.o
New submission from Igor Bronshteyn :
Consider the following snippet (the file is attached):
code starts
a = [1, 3.14, 'abc', u'XYZ']
b = (1, 3.14, 'abc', u'XYZ')
c = {1 : 3.14, 'abc' : u'XYZ'}
= code ends =
The lis