[pypy-commit] cffi default: Call a better function

arigo noreply at buildbot.pypy.org
Sun Oct 4 19:03:36 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r2299:21fef94ca0c8
Date: 2015-10-04 17:23 +0200
http://bitbucket.org/cffi/cffi/changeset/21fef94ca0c8/

Log:	Call a better function

diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c
--- a/c/_cffi_backend.c
+++ b/c/_cffi_backend.c
@@ -4998,7 +4998,7 @@
         PyTuple_SET_ITEM(py_args, i, a);
     }
 
-    py_res = PyEval_CallObject(py_ob, py_args);
+    py_res = PyObject_Call(py_ob, py_args, NULL);
     if (py_res == NULL)
         goto error;
     if (convert_from_object_fficallback(result, SIGNATURE(1), py_res) < 0) {


More information about the pypy-commit mailing list