New submission from Vlastimil Brom <vlastimil.b...@gmail.com>: Hi, while testing python 3.3a1 a bit, especially the new string handling of non-BMP characters, I noticed a problem in Idle in this regard:
Python 3.3.0a1 (default, Mar 4 2012, 17:27:59) [MSC v.1500 32 bit (Intel)] on win32 ... [using win XPp SP3 Czech] >>> got_ahsa = "\N{GOTHIC LETTER AHSA}" >>> len(got_ahsa) 1 >>> got_ahsa.encode("unicode-escape") b'\\U00010330' >>> got_ahsa [crash - idle shell window closes immediately without any visible error message or traceback] I realised later, that tkinter probably won't be able to print wide-unicode characters anyway (according to http://bugs.python.org/issue12342 ), but Idle should probably just print the exception introduced there, e.g. ValueError: character U+10330 is above the range (U+0000-U+FFFF) allowed by Tcl Regards vbr ---------- components: IDLE, Tkinter, Unicode messages: 154944 nosy: ezio.melotti, vbr priority: normal severity: normal status: open title: Idle shell crash on printing non-BMP unicode character versions: Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14200> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com