Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpo-32826: Add "encoding=utf-8" to open() in idle_test/test_help_abou…
…t. (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.
- Loading branch information
1 parent
7766b96
commit f34e03e
Showing
2 changed files
with
32 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
Misc/NEWS.d/next/IDLE/2018-02-12-11-05-22.bpo-32826.IxNZrk.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |