Error in calling generated __Pyx_carray_to_py_ function

17 views
Skip to first unread message

Joshua

unread,
Jan 14, 2016, 3:16:17 PM1/14/16
to cython-users
I've started testing cython 0.23.4 having been running 0.22.1 in production for a long while. When I attempted to re-compile my code, I get a bunch of errors of the form:

f1000.c:25937:76: error: too few arguments to function call, expected 3, have 1
    __pyx_v_3res_5fcode_2bb_6factor_tr = __Pyx_carray_from_py_xarr__type(o); if (PyErr_Occu...

This call is in the function definition of

static int __pyx_import_star_set(PyObject *o, PyObject* py_name, char *name) {

Looking through the generated c code, I see the function definition of `__Pyx_carray_from_py_xarr__type` is:

static int __Pyx_carray_from_py_xarr__type(PyObject *, struct __pyx_t_3res_5fcode_2bb_11fast_tables_xarr_type *, Py_ssize_t); /*proto*/

Is this an outright codegen bug given that the call and function signatures are different? Any suggestions would be greatly appreciated?

Best wishes,
Josh





Reply all
Reply to author
Forward
0 new messages