[Python-compilers] Standard for C Functions backing Python Callables

Antoine Pitrou antoine at python.org
Tue Jul 12 05:38:35 EDT 2016


Hi,

Le 11/07/2016 19:04, Robert Bradshaw a écrit :
> I started a doc for the first discussion bullet point at in
> https://python-compilers-workshop.github.io/ .

Where is the doc you are alluding to?

One possible step would be to add the carray() and farray() functions
described below to Numpy:

http://numba.pydata.org/numba-doc/latest/user/cfunc.html#dealing-with-pointers-and-array-memory

http://numba.pydata.org/numba-doc/latest/reference/utils.html#numba.carray

The current pure Python implementation is here:

https://github.com/numba/numba/blob/master/numba/numpy_support.py#L371-L430

Regards

Antoine.


More information about the Python-compilers mailing list