diff Modules/_tkinter.c @ 51275:fae1758a2346 2.6

Merged revisions 69217,69219 via svnmerge from svn+ssh://pythondev/python/trunk ........ r69217 | guilherme.polo | 2009-02-02 19:08:32 -0200 (Mon, 02 Feb 2009) | 1 line Fix for issue #1581476 ........ r69219 | guilherme.polo | 2009-02-02 19:14:14 -0200 (Mon, 02 Feb 2009) | 1 line NEWS entry for issue #1581476 ........
author Guilherme Polo <ggpolo@gmail.com>
date Mon, 02 Feb 2009 21:15:41 +0000
parents a35da94e05fc
children b4e154c8a38a
line wrap: on
line diff
--- a/Modules/_tkinter.c	Mon Feb 02 14:24:18 2009 +0000
+++ b/Modules/_tkinter.c	Mon Feb 02 21:15:41 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)){