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 serhiy.storchaka
Recipients ezio.melotti, ned.deily, serhiy.storchaka, taleinat, terry.reedy
Date 2019-10-02.17:56:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
PR 16545 solves the problem by using OS specific methods for converting between Python and Tcl strings. It is not ideal, but is good enough for most real cases.

Now you can paste, copy and print non-BMP characters. The code containing them can be displayed weird, but the result of print looks OK.

>>> print('💻')

As a side effect, printing '\udcf0\udc9f\udc90\udc8d' on Linux and '\ud83d\udcbb' on Windows should have the same effect as printing '\U0001f4bb'.

I do not know about macOS, but expect the same behavior as on Linux. Could anybody test please?
Date User Action Args
2019-10-02 17:56:02serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, taleinat, ned.deily, ezio.melotti
2019-10-02 17:56:02serhiy.storchakasetmessageid: <>
2019-10-02 17:56:02serhiy.storchakalinkissue13153 messages
2019-10-02 17:56:02serhiy.storchakacreate