From: Travis O. <oli...@ie...> - 2006-10-31 05:20:47
|
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 |