Message 190933 - Python tracker
haypo> The purpose of this issue is to handle CJK characters taking 2 haypo> columns instead of 1 in a terminal, or did I misunderstand it?
That's the other half of the problem, but the more common issue is misplaced caret when non-ascii characters are present:
>>> ¡™£¢∞§¶•ªº
File "<stdin>", line 1
¡™£¢∞§¶•ªº
^
SyntaxError: invalid character in identifier
With Serhiy's patch:
>>> ¡™£¢∞§¶•ªº
File "<stdin>", line 1
¡™£¢∞§¶•ªº
^
SyntaxError: invalid character in identifier