commit | 2a1b676d1f412dcf6e65c3dbc118c81d925fab64 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Wed Jan 18 11:27:22 2017 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Wed Jan 18 11:27:22 2017 +0100 |
tree | edcc9fb45b12b9f7f875646b57a6e4b539e6214f | |
parent | c52572319cbd50adff85050a54122c25239a516d [diff] |
_PyObject_FastCallKeywords() now checks the result Issue ##27830, Issue #29259.
diff --git a/Objects/abstract.c b/Objects/abstract.c index 682263d..4b32fed 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c
@@ -2539,6 +2539,8 @@ Py_DECREF(argtuple); Py_XDECREF(kwdict); + result = _Py_CheckFunctionResult(callable, result, NULL); + exit: Py_LeaveRecursiveCall(); return result;