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