[issue13153] IDLE crash with unicode bigger than 0xFFFF
Ezio Melotti
report at bugs.python.org
Sat Oct 15 22:48:12 CEST 2011
Ezio Melotti <ezio.melotti at gmail.com> added the comment:
This can also be reproduced by doing:
>>> print('\U000104a2'[0])
and then copy/pasting the lone surrogate.
The traceback is:
[...]
File "C:\Programs\Python32\Lib\tkinter\__init__.py", line 1009, in mainloop
self.tk.mainloop(n)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: invalid continuation byte
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13153>
_______________________________________
More information about the Python-bugs-list
mailing list