[issue13153] IDLE crash with unicode bigger than 0xFFFF

João Bernardo report at bugs.python.org
Tue Oct 11 22:01:32 CEST 2011


New submission from João Bernardo <jbvsmo at gmail.com>:

I was playing with some unicode chars on Python 3.2 (x64 on Windows 7), but when pasted a char bigger than 0xFFFF, IDLE crashes without any error message.

Example (works fine):
>>> '\U000104a2'
'𐒢'

But, if I try to paste the above char, the window will instantly close.

The interpreter uses 2-bytes per char (UTF-16) and I don't know if that's causing the problem (as side note, why don't the default Windows build uses 4-bytes char?).

I can't check now with my Ubuntu install (UTF-32) if the problem persists.

----------
components: IDLE, Unicode, Windows
messages: 145363
nosy: JBernardo
priority: normal
severity: normal
status: open
title: IDLE crash with unicode bigger than 0xFFFF
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13153>
_______________________________________


More information about the Python-bugs-list mailing list