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 malin
Recipients malin
Date 2014-03-28.12:02:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
When open a file with characters above the range (U+0000-U+FFFF), IDLE quit without any report. For example, open this file C:\Python33\lib\test\

The below is Traceback info, the last line tells the reason. I just hope IDLE say something before quit, so we can know what happend.

I have checked Python 3.3.5 and 3.4.0, they have the same problem. I didn't find a 3.5 build, so I can't test this problem under 3.5.

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Python33\lib\tkinter\", line 1489, in __call__
    return self.func(*args)
  File "C:\Python33\lib\idlelib\", line 186, in open
  File "C:\Python33\lib\idlelib\", line 36, in open
    edit = self.EditorWindow(self, filename, key)
  File "C:\Python33\lib\idlelib\", line 126, in __init__
    EditorWindow.__init__(self, *args)
  File "C:\Python33\lib\idlelib\", line 288, in __init__
    if io.loadfile(filename):
  File "C:\Python33\lib\idlelib\", line 236, in loadfile
    self.text.insert("1.0", chars)
  File "C:\Python33\lib\idlelib\", line 25, in insert, chars, tags)
  File "C:\Python33\lib\idlelib\", line 81, in insert
    self.addcmd(InsertCommand(index, chars, tags))
  File "C:\Python33\lib\idlelib\", line 116, in addcmd
  File "C:\Python33\lib\idlelib\", line 219, in do
    text.insert(self.index1, self.chars, self.tags)
  File "C:\Python33\lib\idlelib\", line 85, in insert
    self.delegate.insert(index, chars, tags)
  File "C:\Python33\lib\idlelib\", line 104, in __call__
    return self.tk_call(self.orig_and_operation + args)
_tkinter.TclError: character U+1d518 is above the range (U+0000-U+FFFF) allowed by Tcl
Date User Action Args
2014-03-28 12:02:51malinsetrecipients: + malin
2014-03-28 12:02:51malinsetmessageid: <>
2014-03-28 12:02:51malinlinkissue21084 messages
2014-03-28 12:02:51malincreate