[Numpy-discussion] Attempt to subclass dtype

Colin J. Williams cjw at sympatico.ca
Sun Mar 12 15:18:00 CST 2006


I would like to subclass dtype.  Is there a way for a user to make dtype 
acceptable?

    class d1type(_n.dtype):
TypeError: Error when calling the metaclass bases
    type 'numpy.dtype' is not an acceptable base type

 >>

Colin W.




More information about the Numpy-discussion mailing list