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 <rep...@bugs.python.org>
<http://bugs.python.org/issue19091>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to