From 23fe2a867b91ab1df9aadf6f0ba6af729175b15f Mon Sep 17 00:00:00 2001 From: Guilherme Polo Date: Mon, 2 Feb 2009 21:08:32 +0000 Subject: [PATCH] Fix for issue #1581476 --- Modules/_tkinter.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 6e89f2f9c3..8b56bcd0dc 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -1284,8 +1284,7 @@ Tkapp_Call(PyObject *selfptr, PyObject *args) int objc, i; PyObject *res = NULL; TkappObject *self = (TkappObject*)selfptr; - /* Could add TCL_EVAL_GLOBAL if wrapped by GlobalCall... */ - int flags = TCL_EVAL_DIRECT; + int flags = TCL_EVAL_DIRECT | TCL_EVAL_GLOBAL; /* If args is a single tuple, replace with contents of tuple */ if (1 == PyTuple_Size(args)){ -- 2.50.1