Hi TJReedy,

Thanks for your response.

You can watch below two videos that you will know how bug comes.

Video1 (No bug on v3.8.3): 
https://www.screencast.com/users/lonlon29/folders/Default/media/a0626e93-2c1c-4921-9560-955eb6111466

Video2(Bug was found on v3.8.5):
https://www.screencast.com/t/xrbA7bQpRbuZ

System environment:
Windows 8.1 64-bits OS and Windows 7 64-bits OS.

Looking forward to your reply!

Regards,
Eason
________________________________
发件人: Terry Reedy <tjre...@udel.edu>
发送时间: 2020年7月22日 21:04
收件人: Eason Zhang <eason.zhang0...@outlook.com>; idle-dev@python.org 
<idle-dev@python.org>
主题: Re: [Idle-dev] [BUG]: Can not save anything on IDLE since v3.8.4!!

On 7/22/2020 6:51 AM, Eason Zhang wrote:

> I created a new py file that can be saved and run on IDLE v3.8.3.
> I also created a new py file on IDLE v3.8.4 but it can NOT be saved!
> Tried to edited an old version(e.g. v3.8.3) created py file on IDLE
> v3.8.4 , it can be saved! That's so strange!

The specific bug in 3.8.4 is not saving files with non-ascii characters.
  Either put 'import io' at the top of <python-dir>/Lib/idlelib/iomenu.py
or install 3.8.5, which has the fix.

> It still cannot save on current latest version v3.8.5!!

I just saved and ran
print('eyes ∢∢ snakes 🐍')
Note that the snake emoji is not in the Basic Multilingual Plane and
such characters are not officially supported by the tcl/tk gui
framework.  They mess up editing a bit, but I put it in to test the fix.

> I tested this
> function both on 32-bits and 64-bits and they are all CANNOT work!!

Perhaps your system or file has another issue.  Reduce your file to the
minimum content that has a problem.   Then copy it in a response.

TJReedy


_______________________________________________
IDLE-dev mailing list
IDLE-dev@python.org
https://mail.python.org/mailman/listinfo/idle-dev

Reply via email to