https://hg.python.org/cpython/rev/f8eb203415c8 changeset: 104769:f8eb203415c8 branch: 3.6 parent: 104765:df28e536f19d parent: 104767:695cea018ba9 user: Serhiy Storchaka <storchaka at gmail.com> date: Fri Oct 28 12:16:21 2016 +0300 summary: Fixed possible NULL decrefing. files: Modules/_tkinter.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -1777,7 +1777,7 @@ PyErr_NormalizeException(&exc, &val, &tb); *(ev->exc_type) = exc; *(ev->exc_val) = val; - Py_DECREF(tb); + Py_XDECREF(tb); } } -- Repository URL: https://hg.python.org/cpython