From ffeb9202540c07d384f82ff3ab86c37c1433283a Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 16 Jul 2020 15:47:52 -0700 Subject: [PATCH] [3.8] 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 | 11 +++++++++-- Lib/idlelib/iomenu.py | 1 + .../IDLE/2020-07-16-17-39-06.bpo-41300.wRixNb.rst | 2 ++ 3 files changed, 12 insertions(+), 2 deletions(-) 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 b43c6d3a64cf..ddc1e22e23ed 100644 --- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -1,8 +1,15 @@ -What's New in IDLE 3.8.4 -Released on 2020-07-03? +What's New in IDLE 3.8.5 +Released on 2020-07-20 ====================================== +bpo-41300: Save files with non-ascii chars. Fix regression in +3.9.0b4 and 3.8.4. + +What's New in IDLE 3.8.4 +Released on 2020-06-30 +====================================== + 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 7641d866858a..74ebefd4208f 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 000000000000..080775f7d7ab --- /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. -- 2.47.3