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.

作者 belopolsky
收信人 Arfrever, LambertDW, amaury.forgeotdarc, belopolsky, ezio.melotti, ocean-city, petri.lehtinen, serhiy.storchaka, vstinner
日期 2013-06-10.20:45:38
SpamBayes Score -1.0
Marked as misclassified
Message-id <1370897138.31.0.753546880917.issue2382@psf.upfronthosting.co.za>
In-reply-to
内容
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
历史
日期 用户 动作 参数
2013-06-10 20:45:38belopolsky修改recipients: + belopolsky, amaury.forgeotdarc, vstinner, ocean-city, LambertDW, ezio.melotti, Arfrever, petri.lehtinen, serhiy.storchaka
2013-06-10 20:45:38belopolsky修改messageid: <1370897138.31.0.753546880917.issue2382@psf.upfronthosting.co.za>
2013-06-10 20:45:38belopolsky链接issue2382 messages
2013-06-10 20:45:38belopolsky创建