You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ast.parse produces wrong lineno and col_offset for triple-quoted strings #62570
changed the title [-]ast.parse produces -1 as col_offset for triple-quoted strings[/-][+]ast.parse produces wrong lineno and col_offset for triple-quoted strings[/+]on Jul 5, 2013
Activity
aivarannamaa commentedon Jul 5, 2013
AST nodes for triple-quoted strings have -1 in col_offset field, as presented in the attached file.
aivarannamaa commentedon Jul 5, 2013
Didn't notice before: the lineno attribute is also wrong
[-]ast.parse produces -1 as col_offset for triple-quoted strings[/-][+]ast.parse produces wrong lineno and col_offset for triple-quoted strings[/+]aivarannamaa commentedon Jul 6, 2013
Seems this issue is a duplicate of http://bugs.python.org/issue16806