[SciPy-Dev] Calling LowLevelCallable from Cython
Stefan van der Walt
stefanv at berkeley.edu
Wed May 30 20:31:49 EDT 2018
Hi all,
I am looking into how to call a user-provided LowLevelCallable from
Cython. In SciPy, I could only find examples of how to do that from C
(e.g. `scipy.integrate.quad`). Wherever it is used, some processing is
done to see whether the LowLevelCallable provides a Python function, a C
function, what the signature is, etc. before calling.
Would it be convenient to have a set of Cython utilities that makes this
process easier? Or is there perhaps a trick in Cython that makes it
trivial?
I'm going to work on this more tomorrow, but wanted to check first
whether anyone here has attempted something similar?
Thanks!
Stéfan
More information about the SciPy-Dev
mailing list