On 10/21/13 13:22, marc.poi...@onera.fr wrote:
> Hi all,
>
> I try to change my old C API numpy code to the 'new' API. I used to hack some
> internal stuff in Numpy (yes it's bad...) and I wonder now how to change it.
>
Ok, I've used PyDataMem_RENEW to realloc
Hi all,
I try to change my old C API numpy code to the 'new' API. I used to hack some
internal stuff in Numpy (yes it's bad...) and I wonder now how to change it.
Let's take an example: I have ocount numpy arrays with data allocated elsewhere
than numpy, the data pointer of the PyArrayObject i