[Python-checkins] r69217 - python/trunk/Modules/_tkinter.c

guilherme.polo python-checkins at python.org
Mon Feb 2 22:08:32 CET 2009


Author: guilherme.polo
Date: Mon Feb  2 22:08:32 2009
New Revision: 69217

Log:
Fix for issue #1581476

Modified:
   python/trunk/Modules/_tkinter.c

Modified: python/trunk/Modules/_tkinter.c
==============================================================================
--- python/trunk/Modules/_tkinter.c	(original)
+++ python/trunk/Modules/_tkinter.c	Mon Feb  2 22:08:32 2009
@@ -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)){


More information about the Python-checkins mailing list