Author terry.reedy
Recipients JBernardo, Ramchandra Apte, Rosuav, William.Schwartz, asvetlov, ezio.melotti, loewis, ned.deily, python-dev, roger.serwy, serhiy.storchaka, terry.reedy
Date 2015-11-06.03:16:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446779777.65.0.84302492872.issue13153@psf.upfronthosting.co.za>
In-reply-to
Content
I am puzzled at the following.  Some reported today that IDLE crashed when pasting the Snake emoji U+1F40D 🐍.  I copied from Thunderbird and pasted in IDLE on Win10, with same UnicodeDecodeError as before.  I then ran this simple code

from tkinter import *  # 3.4, 3.5, 2.7 with Tkinter
root = Tk()
text = Text(root)
text.pack()
text.focus_set()  # required to work
root.mainloop()

pasted the char there, and to my surprise, a black & white version of the snake appeared. How?  I thought tk does not support astral chars? I copied from the Text window to paste above, where it is green for me.
History
Date User Action Args
2015-11-06 03:16:17terry.reedysetrecipients: + terry.reedy, loewis, ned.deily, ezio.melotti, roger.serwy, asvetlov, python-dev, JBernardo, Rosuav, Ramchandra Apte, serhiy.storchaka, William.Schwartz
2015-11-06 03:16:17terry.reedysetmessageid: <1446779777.65.0.84302492872.issue13153@psf.upfronthosting.co.za>
2015-11-06 03:16:17terry.reedylinkissue13153 messages
2015-11-06 03:16:16terry.reedycreate