summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-07-16 22:42:09 (GMT)
committerGitHub <noreply@github.com>2020-07-16 22:42:09 (GMT)
commit5a7aa280457423b97512810d6d9baac37f99fbf4 (patch)
treed6934193b83ddbf2880d860385f29d183e52bd0d
parent9d8b8c3ed2c672e0f0d5248a86972c6788f0701d (diff)
downloadcpython-5a7aa280457423b97512810d6d9baac37f99fbf4.zip
cpython-5a7aa280457423b97512810d6d9baac37f99fbf4.tar.gz
cpython-5a7aa280457423b97512810d6d9baac37f99fbf4.tar.bz2
bpo-41300: IDLE - save files with non-ascii chars (GH-21512)
Fix regression released in 3.9.0b4 and 3.8.4. (cherry picked from commit 38d3864efe914fda64553e2ec75c9ec15574483f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
-rw-r--r--Lib/idlelib/NEWS.txt3
-rw-r--r--Lib/idlelib/iomenu.py1
-rw-r--r--Misc/NEWS.d/next/IDLE/2020-07-16-17-39-06.bpo-41300.wRixNb.rst2
3 files changed, 6 insertions, 0 deletions
diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt
index 1c5c03d..60f46f6 100644
--- a/Lib/idlelib/NEWS.txt
+++ b/Lib/idlelib/NEWS.txt
@@ -3,6 +3,9 @@ Released on 2020-10-05?
======================================
+bpo-41300: Save files with non-ascii chars. Fix regression in
+3.9.0b4 and 3.8.4.
+
bpo-37765: Add keywords to module name completion list. Rewrite
Completions section of IDLE doc.
diff --git a/Lib/idlelib/iomenu.py b/Lib/idlelib/iomenu.py
index 7641d86..74ebefd 100644
--- a/Lib/idlelib/iomenu.py
+++ b/Lib/idlelib/iomenu.py
@@ -1,3 +1,4 @@
+import io
import os
import shlex
import sys
diff --git a/Misc/NEWS.d/next/IDLE/2020-07-16-17-39-06.bpo-41300.wRixNb.rst b/Misc/NEWS.d/next/IDLE/2020-07-16-17-39-06.bpo-41300.wRixNb.rst
new file mode 100644
index 0000000..080775f
--- /dev/null
+++ b/Misc/NEWS.d/next/IDLE/2020-07-16-17-39-06.bpo-41300.wRixNb.rst
@@ -0,0 +1,2 @@
+Save files with non-ascii chars. Fix regression released in 3.9.0b4 and
+3.8.4.