[New-bugs-announce] [issue19091] ast.parse gives wrong position for some Names when non-ascii characters occur before
Aivar Annamaa
report at bugs.python.org
Wed Sep 25 20:28:29 CEST 2013
New submission from Aivar Annamaa:
ast.parse gives col_offset=4 for Name x when given program "a + x" vs. col_offset=5 for x when Name a is replaced with a-umlaut (I can't write that character here, because it seems that the issue system doesn't handle non-ascii characters either).
See the attached Python shell transcript for explanation (it's in UTF-8).
----------
components: Interpreter Core
files: bug.txt
messages: 198406
nosy: Aivar.Annamaa
priority: normal
severity: normal
status: open
title: ast.parse gives wrong position for some Names when non-ascii characters occur before
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file31870/bug.txt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19091>
_______________________________________
More information about the New-bugs-announce
mailing list