[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

Serhiy Storchaka report at bugs.python.org
Thu Sep 5 14:25:38 CEST 2013


Serhiy Storchaka added the comment:

Previous patch has a regression, it breaks decoding NUL which Tcl encodes in "modified" UTF-8 as \xc0\x80. However this part of code already broken, because it handles only singular NUL and not a NUL embedded in larger string.

Here is a patch which also fixes decoding NULs from "modified" UTF-8.

----------
Added file: http://bugs.python.org/file31610/tkinter_string_conv_3.patch

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


More information about the Python-bugs-list mailing list