matrixdef.py
Travis Oliphant
oliphant.travis at ieee.org
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.
-Travis
-------------------------------------------------------------------------
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
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
More information about the Numpy-discussion
mailing list