Subclassing Numeric arrays.

Jacek Generowicz jacek.generowicz at cern.ch
Wed Oct 15 10:08:10 EDT 2003


Lukasz Pankowski <lupan at zamek.gda.pl> writes:

> Jacek Generowicz <jacek.generowicz at cern.ch> writes:
> 
> I suppose you subclassed UserArray.array which is the same function as
> Numeric.array.

Nope, I subclassed UserArray.ArrayType

> Subclassing UserArray.UserArray works:

Aaaah, Numeric.ArrayType == UserArray.ArrayType.

OK, thanks.

I'd still like to understand why Numeric.ArrayType is not
subclassable.




More information about the Python-list mailing list