ng a structure
field to keep track of which list the data came from and then making this
field the lowest priority in the sort.
Is this worth creating a ticket for? (I don't have trac privileges to do so)
Jeremy
Jeremy Lewi
Engineering Scientist
The Intellisis Corporat
Thanks Robert.
I ended up letting Python handle the memory management. In my C-extension I
just call Py_INCREF to prevent Python from deallocating it while I'm using
it. I then call Py_DECREF once I'm done with it.
Jeremy
___
NumPy-Discussion mailing l
ay to ensure I'm using the correct
memory deallocator for the buffer? i.e the deallocator for what ever
allocator numpy used to allocate the array?
Thanks
Jeremy
Jeremy Lewi
Engineering Scientist
The Intellisis Corporation
jl...@inte
Hi
I'm trying to understand the following code:
import numpy as np
dt=np.dtype([("c",np.int32,(2))])
data=np.ndarray([2],dtype=dt)
x=np.array([0,10])
#the following line doesn't set data[0]["c"] = x
#only data[0]["c"][0] changes
data[0