diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-01-18 10:27:22 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-01-18 10:27:22 (GMT) |
commit | 2a1b676d1f412dcf6e65c3dbc118c81d925fab64 (patch) | |
tree | edcc9fb45b12b9f7f875646b57a6e4b539e6214f /Objects/abstract.c | |
parent | c52572319cbd50adff85050a54122c25239a516d (diff) | |
download | cpython-2a1b676d1f412dcf6e65c3dbc118c81d925fab64.zip cpython-2a1b676d1f412dcf6e65c3dbc118c81d925fab64.tar.gz cpython-2a1b676d1f412dcf6e65c3dbc118c81d925fab64.tar.bz2 |
_PyObject_FastCallKeywords() now checks the result
Issue ##27830, Issue #29259.
Diffstat (limited to 'Objects/abstract.c')
-rw-r--r-- | Objects/abstract.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ _PyObject_FastCallKeywords(PyObject *callable, PyObject **stack, Py_ssize_t narg Py_DECREF(argtuple); Py_XDECREF(kwdict); + result = _Py_CheckFunctionResult(callable, result, NULL); + exit: Py_LeaveRecursiveCall(); return result; |