Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7f42395

Browse files
committed
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 ........
1 parent 3c16165 commit 7f42395

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ Core and Builtins
152152
Library
153153
-------
154154

155+
- Issue #1581476: Always use the Tcl global namespace when calling into Tcl.
156+
155157
- Fix a bug in the trace module where a bytes object from co_lnotab had its
156158
items being passed through ord().
157159

Modules/_tkinter.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,8 +1236,7 @@ Tkapp_Call(PyObject *selfptr, PyObject *args)
12361236
int objc, i;
12371237
PyObject *res = NULL;
12381238
TkappObject *self = (TkappObject*)selfptr;
1239-
/* Could add TCL_EVAL_GLOBAL if wrapped by GlobalCall... */
1240-
int flags = TCL_EVAL_DIRECT;
1239+
int flags = TCL_EVAL_DIRECT | TCL_EVAL_GLOBAL;
12411240

12421241
/* If args is a single tuple, replace with contents of tuple */
12431242
if (1 == PyTuple_Size(args)){

0 commit comments

Comments
 (0)