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 ronaldoussoren
Recipients IanSt1, epaine, ezio.melotti, ned.deily, ronaldoussoren, serhiy.storchaka, terry.reedy, vstinner, wordtech
Date 2020-11-08.14:20:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The crash I had on macOS with tk 8.6.8 appears to be gone when using tk 8.6.10.

What I got back was a SyntaxError when pasting a smiley emoji in an IDLE shell window when trying to type execute print("😀").  The SyntaxError message says: 'utf-8' codec can't encode characters in position 7-12: surrogates not allowed.  That's likely to to how Tk represents this character in its text widget, and is something we could work around when converting Tcl/Tk strings to Python strings.

Printing the emoji using 'print(chr(128516))' works fine.

The scriptlet in msg380173 also works.
Date User Action Args
2020-11-08 14:20:55ronaldoussorensetrecipients: + ronaldoussoren, terry.reedy, vstinner, wordtech, ned.deily, ezio.melotti, serhiy.storchaka, epaine, IanSt1
2020-11-08 14:20:55ronaldoussorensetmessageid: <>
2020-11-08 14:20:55ronaldoussorenlinkissue42225 messages
2020-11-08 14:20:55ronaldoussorencreate