[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-30 Thread Ned Deily
Ned Deily added the comment: Sorry, I should have noticed earlier that this is a duplicate of Issue12342. The problem is simply that Tcl/Tk does not currently support the display of Unicode code points outside of the BMP. The question then is what IDLE to do when asked to display such chara

[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-30 Thread Roger Serwy
Roger Serwy 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 p

[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-29 Thread maniram maniram
Changes by maniram maniram : -- versions: -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-26 Thread Ned Deily
Ned Deily added the comment: With a current 3.3 build (i.e. "wide" build) on OS X, I can reproduce this. It causes an exception on the execution of that command in the IDLE shell but it doesn't crash IDLE. Not surprisingly, it doesn't seem to be reproducible with 3.2 "narrow" builds. --

[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-25 Thread maniram maniram
maniram maniram added the comment: The error is visible from the command-line. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-25 Thread Ezio Melotti
Ezio Melotti added the comment: Both print(chr(500304)) and print('\U0007a250') seem to work and print two empty boxes on IDLE with Python 3.2/WinXP. Is that error displayed in the IDLE window or does IDLE crash and you see the error somewhere else? -- nosy: +ezio.melotti, kbk _

[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-25 Thread maniram maniram
maniram maniram added the comment: My OS is Ubuntu Linux 11.10 (Oneiric Ocelot) Running uname -a gives "Linux ramcomputer 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux" -- ___ Python tracker

[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-25 Thread maniram maniram
maniram maniram added the comment: Here's the Error message. *** Internal Error: rpc.py:SocketIO.localcall() Object: stdout Method: > Args: ('\U0007a250',) Traceback (most recent call last): File "/usr/lib/python3.2/idlelib/rpc.py", line 188, in localcall ret = method(*args, **kwarg

[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-25 Thread maniram maniram
New submission from maniram maniram : When you print an unprintable character, IDLE raises an error. >>> print(chr(500304)) # print an unprintable character The error is only visible when you run the code from a commmand-line. When you run python from the command-line and execute the code it show