Commit 7f42395b authored by Guilherme Polo's avatar Guilherme Polo

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
........
parent 3c16165c
...@@ -152,6 +152,8 @@ Core and Builtins ...@@ -152,6 +152,8 @@ Core and Builtins
Library Library
------- -------
- Issue #1581476: Always use the Tcl global namespace when calling into Tcl.
- Fix a bug in the trace module where a bytes object from co_lnotab had its - Fix a bug in the trace module where a bytes object from co_lnotab had its
items being passed through ord(). items being passed through ord().
......
...@@ -1236,8 +1236,7 @@ Tkapp_Call(PyObject *selfptr, PyObject *args) ...@@ -1236,8 +1236,7 @@ Tkapp_Call(PyObject *selfptr, PyObject *args)
int objc, i; int objc, i;
PyObject *res = NULL; PyObject *res = NULL;
TkappObject *self = (TkappObject*)selfptr; TkappObject *self = (TkappObject*)selfptr;
/* Could add TCL_EVAL_GLOBAL if wrapped by GlobalCall... */ int flags = TCL_EVAL_DIRECT | TCL_EVAL_GLOBAL;
int flags = TCL_EVAL_DIRECT;
/* If args is a single tuple, replace with contents of tuple */ /* If args is a single tuple, replace with contents of tuple */
if (1 == PyTuple_Size(args)){ if (1 == PyTuple_Size(args)){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment