> I don't pretend to know all the inner workings of subclassing, but I > don't think that would work, given the following output:
> In [6]: x+y > This is where __array_finalize__ is called > Out[6]: MyArray([4, 5, 6]) Why is not __new__ called for the return value of x + y? Does it call __new__ for ndarray instead of MyArray? _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion