Commit d21db3c1 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Issue #3015: Fixed tkinter with wantobject=False. Any Tcl command call

returned empty string.
parent de7b064c
......@@ -68,6 +68,9 @@ Core and Builtins
Library
-------
- Issue #3015: Fixed tkinter with wantobject=False. Any Tcl command call
returned empty string.
- Issue #18050: Fixed an incompatibility of the re module with Python 3.3.0
binaries.
......
......@@ -1227,10 +1227,7 @@ Tkapp_CallResult(TkappObject *self)
res = FromObj((PyObject*)self, value);
Tcl_DecrRefCount(value);
} else {
const char *s = Tcl_GetStringResult(self->interp);
const char *p = s;
res = PyUnicode_FromStringAndSize(s, (int)(p-s));
res = PyUnicode_FromString(Tcl_GetStringResult(self->interp));
}
return res;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment