[Python-checkins] bpo-41300: IDLE - save files with non-ascii chars (GH-21512)

Terry Jan Reedy webhook-mailer at python.org
Thu Jul 16 18:24:57 EDT 2020


https://github.com/python/cpython/commit/38d3864efe914fda64553e2ec75c9ec15574483f
commit: 38d3864efe914fda64553e2ec75c9ec15574483f
branch: master
author: Terry Jan Reedy <tjreedy at udel.edu>
committer: GitHub <noreply at github.com>
date: 2020-07-16T18:24:49-04:00
summary:

 bpo-41300: IDLE - save files with non-ascii chars  (GH-21512)

Fix regression released in 3.9.0b4 and 3.8.4.

files:
A Misc/NEWS.d/next/IDLE/2020-07-16-17-39-06.bpo-41300.wRixNb.rst
M Lib/idlelib/NEWS.txt
M Lib/idlelib/iomenu.py

diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt
index 1c5c03da86efc..60f46f6660324 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 7641d866858a1..74ebefd4208f7 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 0000000000000..080775f7d7ab4
--- /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.



More information about the Python-checkins mailing list