Re: [Numpy-discussion] matrixdef.py

2006-10-30 Thread Travis Oliphant
Colin J. Williams wrote: > Line 71 has: data.view(subtype) > > This appears to involve a call to __array_finalize__. Is this an > unconditional call? > Yes. Every-time an array is constructed the __array_finalize__ method is called unless the __array_finalize__ attribute is None > If not, w

[Numpy-discussion] matrixdef.py

2006-10-29 Thread Colin J. Williams
Line 71 has: data.view(subtype) This appears to involve a call to __array_finalize__. Is this an unconditional call? If not, what are the conditions? Why not use __init__ to handle these things, since it is always called after the __new__? Colin W. ---