grantjenks / python-runstats

Python module for computing statistics and regression in a single pass.
http://grantjenks.com/docs/runstats/
Other
96 stars 19 forks source link

Build error when using Python 3.7 + Cython #24

Closed jbergbrede closed 5 years ago

jbergbrede commented 5 years ago

Hi, I am experiencing issues when trying to build runstats 1.7.1 under python 3.7 using cython. Next to some warnings about using parentheses (which are also present in python 3.6), I get the following error:

runstats/fast.c: In function ‘__Pyx_PyCFunction_FastCall’:
runstats/fast.c:10294:5: error: too many arguments to function ‘(struct PyObject * (*)(struct PyObject *, struct PyObject * const*, Py_ssize_t))meth’
     return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs, NULL);
     ^

Thank you for your work! Best, Jannis

grantjenks commented 5 years ago

Try again. I just released an update with Python 3.7 support (I think). The new version is 1.8.0