diff Modules/_tkinter.c @ 51272:40ff83e02395 legacy-trunk

Fix for issue #1581476
author Guilherme Polo <ggpolo@gmail.com>
date Mon, 02 Feb 2009 21:08:32 +0000
parents 4ab381aea658
children d4613e970498
line wrap: on
line diff
--- a/Modules/_tkinter.c	Mon Feb 02 20:28:59 2009 +0000
+++ b/Modules/_tkinter.c	Mon Feb 02 21:08:32 2009 +0000
@@ -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)){