[Python-ideas] Re: Add a PyObject_VaCallFunction to C API??

2020-01-07 Thread Rui Hu
I see! That definitely helps. What about a call to PyObject_CallMethodObjArgs()? Under the hood, is it really the same as a first call to PyObject_GetAttr() to get an attribute which is followed by another call to PyObject_Call()? I read Objects/call.c and seems to me this is the case. I'm aski

[Python-ideas] Re: Add a PyObject_VaCallFunction to C API??

2020-01-07 Thread Rui Hu
I fully agree that the workflow should be Python to C. Thanks for the suggested tools. I heard about Cython almost the same time I heard about Python. I will look at it for wisdom! My situation is exactly the "Unless" one you mentioned. Since the dataset can be huge, multiple computer nodes wi