[issue13265] IDLE crashes when printing some unprintable characters.

Roger Serwy report at bugs.python.org
Sun Oct 30 19:43:12 CET 2011


Roger Serwy <roger.serwy at gmail.com> added the comment:

I can reproduce the problem with Ubuntu 11.04 with Python 3.2. The WidgetRedirector calls tk_call with a tuple containing unencoded Unicode strings. 

Attached is a patch to encode all arguments if the argument has the "encode" attribute. This seems to fix the problem, but can someone who knows more about Python and Tk's Unicode handling take a look?

----------
keywords: +patch
nosy: +serwy
Added file: http://bugs.python.org/file23561/patch13265.diff

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


More information about the Python-bugs-list mailing list