classification
Title: IDLE 3.8 can not save and run this file
Type: compile error Stage: resolved
Components: IDLE Versions: Python 3.8
process
Status: closed Resolution: duplicate
Dependencies: Superseder: IDLE: add missing import io in iomenu.py
View: 41300
Assigned To: terry.reedy Nosy List: terry.reedy, 宋嘉腾
Priority: normal Keywords:

Created on 2020-07-17 04:14 by 宋嘉腾, last changed 2020-07-17 20:35 by terry.reedy. This issue is now closed.

Files
File name Uploaded Description Edit
tempconvert.py 宋嘉腾, 2020-07-17 04:14
Messages (4)
msg373797 - (view) Author: 宋嘉腾 (宋嘉腾) Date: 2020-07-17 04:14
If I delete the chinese in this py file, it can run.
I use notepad and edit it, and it can run derectly in cmd.
msg373817 - (view) Author: wyz23x2 (wyz23x2) * Date: 2020-07-17 11:00
Is bpo-41300 related? It talks about non-ASCII in IDLE.
msg373822 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2020-07-17 11:10
Already fixed.  I have asked the fix go in 3.8.5 on Monday.
msg373855 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2020-07-17 20:35
宋嘉腾 put 'import io' at the top of idlelib/iomenu.py
History
Date User Action Args
2020-07-17 20:35:03terry.reedysetmessages: + msg373855
2020-07-17 11:10:36terry.reedysetmessages: + msg373822
2020-07-17 11:10:00terry.reedysetstatus: open -> closed
superseder: IDLE: add missing import io in iomenu.py
resolution: duplicate
stage: resolved
2020-07-17 11:01:35wyz23x2setnosy: - wyz23x2
2020-07-17 11:00:24wyz23x2setnosy: + wyz23x2
messages: + msg373817
2020-07-17 04:14:29宋嘉腾create