[Python-checkins] r69223 - in python/branches/release30-maint: Misc/NEWS Modules/_tkinter.c

guilherme.polo python-checkins at python.org
Mon Feb 2 22:23:52 CET 2009


Author: guilherme.polo
Date: Mon Feb  2 22:23:52 2009
New Revision: 69223

Log:
Merged revisions 69222 via svnmerge from 
svn+ssh://pythondev/python/branches/py3k

................
  r69222 | guilherme.polo | 2009-02-02 19:17:09 -0200 (Mon, 02 Feb 2009) | 13 lines
  
  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
  ........
................


Modified:
   python/branches/release30-maint/   (props changed)
   python/branches/release30-maint/Misc/NEWS
   python/branches/release30-maint/Modules/_tkinter.c

Modified: python/branches/release30-maint/Misc/NEWS
==============================================================================
--- python/branches/release30-maint/Misc/NEWS	(original)
+++ python/branches/release30-maint/Misc/NEWS	Mon Feb  2 22:23:52 2009
@@ -108,6 +108,8 @@
 Library
 -------
 
+- Issue #1581476: Always use the Tcl global namespace when calling into Tcl.
+
 - Issue #2047: shutil.move() could believe that its destination path was
   inside its source path if it began with the same letters (e.g. "src" vs.
   "src.new").

Modified: python/branches/release30-maint/Modules/_tkinter.c
==============================================================================
--- python/branches/release30-maint/Modules/_tkinter.c	(original)
+++ python/branches/release30-maint/Modules/_tkinter.c	Mon Feb  2 22:23:52 2009
@@ -1236,8 +1236,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