sanad added the comment:
These observations are noted when the system locale is set to 'iso-88591'
1. Ok, for some reason I'm able to execute this command without any error in
Linux (idle window is opening with a file name as 'astralE.py'). Because the
character
sanad added the comment:
Hey Terry, after testing the committed patch on my Linux Mint, I have found the
following behaviour:
1. The issue of IDLE not starting when Recent File list has name outside BMP
has been fixed.
2. The File Name is correctly formatted and displayed in the file editor
sanad added the comment:
Correction:
This patch fixes the problem of idle not opening when recent file list has
filenames outside BMP and the crashing of idle on using filenames with astral
characters.
The added benefit is that you can create a file with such chars and save it and
access it
sanad added the comment:
On the lines of changes proposed by Terry and others in the comments, this is
the patch I'm submitting.
The function _filename_to_unicode() plays the major part in the plot. The
function can get two types of filename ,'str' and 'bytes'. When
sanad added the comment:
I have tested all the cases mentioned in the comments on Linux Mint 17.1
Rebecca 64 bit with Python 3.6.0a0 build version.
1.I reproduced the issue mentioned in #msg241871 the minimize button works
perfectly fine and the search dialog box does minimizes(Which implies
sanad added the comment:
I have reviewed the patch(http://bugs.python.org/msg172439) submitted in issue
#15348 and works very well for solving this particular issue too. Although I
have checked it only on Linux but it works arguably fine.
--
nosy: +sanad
sanad added the comment:
In an attempt to fix this issue on lines of the criteria given by nick, have
uploaded my patch . Please review it so that If mistake is there ,I can fix and
upload corrected patch again. Thanks for your time.
--
keywords: +patch
nosy: +sanad
Added file: http