]> granicus.if.org Git - python/commit
bpo-36698: IDLE no longer fails when write non-encodable characters to stderr. (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 8 Oct 2019 11:51:16 +0000 (04:51 -0700)
committerGitHub <noreply@github.com>
Tue, 8 Oct 2019 11:51:16 +0000 (04:51 -0700)
commita1f45008f190b0d340ec0eac623f05ef98e6b4c9
tree6170ac955be225a7073b4c0d150130afdf63375a
parentaa9d5b8ec33fd647ed9a0fe113e60ff826bea49a
bpo-36698: IDLE no longer fails when write non-encodable characters to stderr. (GH-16583)

It now escapes them with a backslash, as the regular Python interpreter.
Added the "errors" field to the standard streams.
(cherry picked from commit b690a2759e62d9ee0b6ea1b20e8f7e4b2cdbf8bb)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/idlelib/idle_test/test_run.py
Lib/idlelib/iomenu.py
Lib/idlelib/pyshell.py
Lib/idlelib/run.py
Misc/NEWS.d/next/IDLE/2019-10-04-18-03-09.bpo-36698.BKcmom.rst [new file with mode: 0644]