[Numpy-discussion] question about memory ownership

Darren Dale dsdale24 at gmail.com
Sat Jan 17 23:06:11 EST 2009


Hello,

Would someone be so kind as to explain how to create an ndarray subclass
that owns its own memory? I think RealisticInfoArray at
http://docs.scipy.org/doc/numpy/user/basics.subclassing.html#basics-subclassingdoes
not own its own memory, do you have to call ndarray.__new__ directly,
or is there another way?

Thanks,
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090117/146ef195/attachment.html>


More information about the NumPy-Discussion mailing list