mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Fixed issue #4792: Prevent a segfault in _tkinter by using the
guaranteed to be safe interp argument given to the PythonCmd in place of the Tcl interpreter taken from a PythonCmd_ClientData.
This commit is contained in:
parent
6d6c1fd04e
commit
3768b2f4ce
2 changed files with 5 additions and 1 deletions
|
|
@ -168,6 +168,10 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #4792: Prevent a segfault in _tkinter by using the
|
||||
guaranteed to be safe interp argument given to the PythonCmd in place of
|
||||
the Tcl interpreter taken from a PythonCmd_ClientData.
|
||||
|
||||
- Issue #5193: Guarantee that Tkinter.Text.search returns a string.
|
||||
|
||||
- Issue #5394: removed > 2.3 syntax from distutils.msvc9compiler.
|
||||
|
|
|
|||
|
|
@ -2070,7 +2070,7 @@ PythonCmd(ClientData clientData, Tcl_Interp *interp, int argc, char *argv[])
|
|||
return PythonCmd_Error(interp);
|
||||
}
|
||||
else {
|
||||
Tcl_SetObjResult(Tkapp_Interp(self), obj_res);
|
||||
Tcl_SetObjResult(interp, obj_res);
|
||||
rv = TCL_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue