cpython: 82cfbe2ddfbb (original) (raw)

Mercurial > cpython

changeset 70039:82cfbe2ddfbb 3.1

Issue #1028: Tk returns invalid Unicode null in %A: UnicodeDecodeError. With Tk < 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused IDLE to exit. Converted to valid Unicode null in PythonCmd(). [#1028]

Kurt B. Kaiser kbk@shore.net
date Wed, 11 May 2011 12:24:17 -0400
parents fd7d4639dae2
children 65a6a2f8721f da7a120c0478
files Lib/idlelib/NEWS.txt Misc/NEWS Modules/_tkinter.c
diffstat 3 files changed, 23 insertions(+), 4 deletions(-)[+] [-] Lib/idlelib/NEWS.txt 9 Misc/NEWS 4 Modules/_tkinter.c 14

line wrap: on

line diff

--- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -1,18 +1,21 @@ What's New in IDLE 3.1.4? ========================= -Release date: XX-XXX-XX +Release date: 15-May-11 + +- Issue #1028: Ctrl-space binding to show completions was causing IDLE to exit.

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -69,6 +69,10 @@ Core and Builtins Library ------- +- Issue #1028: Tk returns invalid Unicode null in %A: UnicodeDecodeError.

--- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -2023,7 +2023,19 @@ PythonCmd(ClientData clientData, Tcl_Int for (i = 0; i < (argc - 1); i++) { PyObject *s = PyUnicode_FromString(argv[i + 1]);