[issue23672] IDLE can crash if file name contains non-BMP Unicode characters

Ned Deily report at bugs.python.org
Sun Mar 15 11:27:22 CET 2015


Ned Deily added the comment:

At least on some platforms (e.g. OS X), it is easy to create files with legitimate names containing code points above the BMP limit (<= U+FFFF) currently imposed by Tcl/Tk.  For IDLE 3, I suspect _filename_to_unicode() in EditorWindow could be modified to check for such cases to prevent problems if such file names end up in recent-files.lst.  That might not be sufficient: there may be other problematic places.  I also was able to crash a current IDLE 2.7 just opening a file with such a name.

----------
stage:  -> needs patch
title: IDLE for osx 10.8.5 won't run -> IDLE can crash if file name contains non-BMP Unicode characters
versions: +Python 2.7, Python 3.5

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


More information about the Python-bugs-list mailing list