diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-12-04 21:59:09 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-12-04 21:59:09 (GMT) |
commit | de4ae3d4869e88dda8bfbad24880cb398160a7a0 (patch) | |
tree | b8c42842a31f408c9fe09993e19fba49d60b2dcf /Objects/enumobject.c | |
parent | c8d03187ff85326ab8b24af06f8a4e391365f42a (diff) | |
download | cpython-de4ae3d4869e88dda8bfbad24880cb398160a7a0.zip cpython-de4ae3d4869e88dda8bfbad24880cb398160a7a0.tar.gz cpython-de4ae3d4869e88dda8bfbad24880cb398160a7a0.tar.bz2 |
Backed out changeset b9c9691c72c5
Issue #28858: The change b9c9691c72c5 introduced a regression. It seems like
_PyObject_CallArg1() uses more stack memory than
PyObject_CallFunctionObjArgs().
Diffstat (limited to 'Objects/enumobject.c')
-rw-r--r-- | Objects/enumobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/enumobject.c b/Objects/enumobject.c index 72d31b1..dae166d 100644 --- a/Objects/enumobject.c +++ b/Objects/enumobject.c @@ -258,7 +258,7 @@ reversed_new(PyTypeObject *type, PyObject *args, PyObject *kwds) return NULL; } if (reversed_meth != NULL) { - PyObject *res = _PyObject_CallNoArg(reversed_meth); + PyObject *res = PyObject_CallFunctionObjArgs(reversed_meth, NULL); Py_DECREF(reversed_meth); return res; } |