commit | 23fe2a867b91ab1df9aadf6f0ba6af729175b15f | [log] [tgz] |
---|---|---|
author | Guilherme Polo <ggpolo@gmail.com> | Mon Feb 02 21:08:32 2009 +0000 |
committer | Guilherme Polo <ggpolo@gmail.com> | Mon Feb 02 21:08:32 2009 +0000 |
tree | c5ebd1ea4e42abf1a7ef98ffc28f36ec8dce6f47 | |
parent | b98cb43e4a4d374dde9d7aa665ee88a6d0edd6b9 [diff] |
Fix for issue #1581476
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 6e89f2f..8b56bcd 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c
@@ -1284,8 +1284,7 @@ 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)){