This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients Arfrever, LambertDW, amaury.forgeotdarc, belopolsky, ezio.melotti, ocean-city, petri.lehtinen, serhiy.storchaka, vstinner
Date 2013-06-10.20:45:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370897138.31.0.753546880917.issue2382@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2013-06-10 20:45:38belopolskysetrecipients: + belopolsky, amaury.forgeotdarc, vstinner, ocean-city, LambertDW, ezio.melotti, Arfrever, petri.lehtinen, serhiy.storchaka
2013-06-10 20:45:38belopolskysetmessageid: <1370897138.31.0.753546880917.issue2382@psf.upfronthosting.co.za>
2013-06-10 20:45:38belopolskylinkissue2382 messages
2013-06-10 20:45:38belopolskycreate