Travis Oliphant oliphant.travis at
Mon Oct 30 23:22:32 CST 2006

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, what are the conditions?
> Why not use __init__ to handle these things, since it is always called 
> after the __new__?
Because __init__ must have the same calling signature as __new__ and we 
have no way of knowing what it is.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

More information about the Numpy-discussion mailing list