[Numpy-discussion] subclassing matrix

Stefan van der Walt stefan@sun.ac...
Sat Jan 12 17:13:49 CST 2008

On Sat, Jan 12, 2008 at 01:24:31PM -0800, Basilisk96 wrote:


> When is __array_finalize__ called? By adding some print traces, I can
> see it's called every time an array is modified in any way i.e.,
> reshaped, transposed, etc., and also during operations like u+v, u-v,
> A*u. But it's not called during the call to numpy.cross. Why?

Take a look at


for more detail.


More information about the Numpy-discussion mailing list