[issue16173] Wrong offset on SyntaxError when identifier contains non-ascii characters

2012-10-09 Thread Ezio Melotti
Ezio Melotti added the comment: I was just in a hurry and didn't have time to check if they were indeed the same issue. Looks like they are, so I'm closing this as duplicate. -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> [Py3k] Syntax

[issue16173] Wrong offset on SyntaxError when identifier contains non-ascii characters

2012-10-09 Thread R. David Murray
R. David Murray added the comment: Ezio, is there a reason you didn't close this as a duplicate? -- nosy: +r.david.murray ___ Python tracker ___ _

[issue16173] Wrong offset on SyntaxError when identifier contains non-ascii characters

2012-10-09 Thread Ezio Melotti
Ezio Melotti added the comment: See #2382. -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue16173] Wrong offset on SyntaxError when identifier contains non-ascii characters

2012-10-09 Thread Baptiste Mispelon
New submission from Baptiste Mispelon: When a syntax error happens, the exception that gets printed has an extra line with a caret that helps locate the error. If the line also contains an identifier with non-ascii characters, then this caret is misaligned (too far on the right). I've investi