[Numpy-discussion] Please help with subclassing numpy.ndarray
Sturla Molden
sturla@molden...
Wed Feb 7 17:50:11 CST 2007
> Good point. I guess I thought the OP had tried that already. It turns
> out it works fine, too.
>
> The __array_finalize__ is useful if you want the attribute to be carried
> around when arrays are created automatically internally (after math
> operations for example).
I too may be missing something here.
Will using __array_finalize__ this way be thread safe or not?
Sturla Molden
More information about the Numpy-discussion
mailing list