[Idle-dev] idle eats code

Guido van Rossum guido@digicool.com
Tue, 10 Jul 2001 11:57:41 -0400


> Guido,
> This problem you've seen, do you think it's an IDLE problem, Python
> problem, or Windows problem? Has it been seen on Linux?
> Regards, KBK

The problems are at least part due to Tkinter's support for Unicode:
when you paste a Unicode character into a Text window, the get()
method will return a Unicode string, and IDLE is not prepared for
that, causing the save operation to fail.

It's harder to provoke on Linux -- on Windows, it's quite easy to get
Unicode characters in the clipboard.

--Guido van Rossum (home page: http://www.python.org/~guido/)