From 5a7aa280457423b97512810d6d9baac37f99fbf4 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 16 Jul 2020 15:42:09 -0700 Subject: 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 --- Lib/idlelib/NEWS.txt | 3 +++ Lib/idlelib/iomenu.py | 1 + Misc/NEWS.d/next/IDLE/2020-07-16-17-39-06.bpo-41300.wRixNb.rst | 2 ++ 3 files changed, 6 insertions(+) create mode 100644 Misc/NEWS.d/next/IDLE/2020-07-16-17-39-06.bpo-41300.wRixNb.rst 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. -- cgit v0.12