mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-29548: no longer use PyEval_Call* functions (GH-14683)
This commit is contained in:
parent
9b5ce62cac
commit
1dbd084f1f
4 changed files with 14 additions and 6 deletions
|
@ -1667,8 +1667,7 @@ _PyErr_CheckSignals(void)
|
|||
_Py_atomic_store_relaxed(&Handlers[i].tripped, 0);
|
||||
|
||||
if (arglist) {
|
||||
result = PyEval_CallObject(Handlers[i].func,
|
||||
arglist);
|
||||
result = PyObject_Call(Handlers[i].func, arglist, NULL);
|
||||
Py_DECREF(arglist);
|
||||
}
|
||||
if (!result) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue