Author nirinA raseliarison
Recipients nirinA raseliarison, terry.reedy
Date 2020-07-15.01:23:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
idle cannot save file with non ascii character, leading to:

Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib64/python3.8/tkinter/", line 1883, in __call__
    return self.func(*args)
  File "/usr/lib64/python3.8/idlelib/", line 176, in handler
    r = l[i](event)
  File "/usr/lib64/python3.8/idlelib/", line 199, in save
  File "/usr/lib64/python3.8/idlelib/", line 232, in writefile
    text = self.fixnewlines()
  File "/usr/lib64/python3.8/idlelib/", line 271, in encode
    encoded = chars.encode('ascii', 'replace')
NameError: name 'io' is not defined

just adding `import io` seems to fix this.
Date User Action Args
2020-07-15 01:23:31nirinA raseliarisonsetrecipients: + nirinA raseliarison, terry.reedy
2020-07-15 01:23:31nirinA raseliarisonsetmessageid: <>
2020-07-15 01:23:31nirinA raseliarisonlinkissue41300 messages
2020-07-15 01:23:31nirinA raseliarisoncreate