]> granicus.if.org Git - python/commit
Issue #14200: Idle shell crash on printing non-BMP unicode character.
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Wed, 14 Mar 2012 20:22:12 +0000 (13:22 -0700)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Wed, 14 Mar 2012 20:22:12 +0000 (13:22 -0700)
commit05bab93339308d330d6bd718575212ae2b3dc46d
treebb17df498b687ce4b5fafaa7f4629a5cfba84851
parentc5ceb0aaafa3064c8f301ebbedf44f421d3f3eba
Issue #14200: Idle shell crash on printing non-BMP unicode character.

UnicodeEncodeError is raised for strings contains non-BMP characters.
For eval results unicode escaping is used, print() calls display
exception with traceback as usual.
Lib/idlelib/PyShell.py
Lib/idlelib/rpc.py
Lib/idlelib/run.py
Misc/NEWS