summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2018-02-12 19:58:26 (GMT)
committerGitHub <noreply@github.com>2018-02-12 19:58:26 (GMT)
commitf34e03ec0ea6a4cef8d966087c77e616c4a5893b (patch)
tree5667d6d784923c9ea23ee414a4645bd37e133a6f /Misc
parent7766b96ab80b04509bbac708ee5ecf3c1c5934fc (diff)
downloadcpython-f34e03ec0ea6a4cef8d966087c77e616c4a5893b.zip
cpython-f34e03ec0ea6a4cef8d966087c77e616c4a5893b.tar.gz
cpython-f34e03ec0ea6a4cef8d966087c77e616c4a5893b.tar.bz2
bpo-32826: Add "encoding=utf-8" to open() in idle_test/test_help_about. (GH-5639)
GUI test test_file_buttons() only looks at initial ascii-only lines, but failed on systems where open() defaults to 'ascii' because readline() internally reads and decodes far enough ahead to encounter a non-ascii character in CREDITS.txt.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/IDLE/2018-02-12-11-05-22.bpo-32826.IxNZrk.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/IDLE/2018-02-12-11-05-22.bpo-32826.IxNZrk.rst b/Misc/NEWS.d/next/IDLE/2018-02-12-11-05-22.bpo-32826.IxNZrk.rst
new file mode 100644
index 0000000..4310ed2
--- /dev/null
+++ b/Misc/NEWS.d/next/IDLE/2018-02-12-11-05-22.bpo-32826.IxNZrk.rst
@@ -0,0 +1,5 @@
+Add "encoding=utf-8" to open() in IDLE's test_help_about.
+GUI test test_file_buttons() only looks at initial ascii-only lines,
+but failed on systems where open() defaults to 'ascii' because
+readline() internally reads and decodes far enough ahead to encounter
+a non-ascii character in CREDITS.txt.