[Numpy-discussion] Owndata flag

2011-12-15 Thread Fabrice Silva
How can one arbitrarily assumes that an ndarray owns its data ? More explicitly, I have some temporary home-made C structure that holds a pointer to an array. I prepare (using Cython) an numpy.ndarray using the PyArray_NewFromDescr function. I can delete my temporary C structure without freeing

Re: [Numpy-discussion] Owndata flag

2011-12-15 Thread Robert Kern
On Thu, Dec 15, 2011 at 16:17, Fabrice Silva si...@lma.cnrs-mrs.fr wrote: How can one arbitrarily assumes that an ndarray owns its data ? More explicitly, I have some temporary home-made C structure that holds a pointer to an array. I prepare (using Cython) an numpy.ndarray using the

[Numpy-discussion] Ann: OpenOpt and FuncDesigner 0.37

2011-12-15 Thread Dmitrey
Hi all, I'm glad to inform you about new release 0.37 (2011-Dec-15) of our free software: OpenOpt (numerical optimization): IPOPT initialization time gap (time till first iteration) for FuncDesigner models has been decreased Some improvements and bugfixes for interalg, especially for

Re: [Numpy-discussion] Owndata flag

2011-12-15 Thread Gregor Thalhammer
Am 15.12.2011 um 17:17 schrieb Fabrice Silva: How can one arbitrarily assumes that an ndarray owns its data ? More explicitly, I have some temporary home-made C structure that holds a pointer to an array. I prepare (using Cython) an numpy.ndarray using the PyArray_NewFromDescr function. I