[Numpy-discussion] NotImplementedType

Tom Denniston tom.denniston at alum.dartmouth.org
Fri Sep 14 16:48:48 EDT 2007


Sometimes numpy operationrs result in NotImplementedType.  It makes it
a little hard to debug because the problem then crops up later when
you try to do an operation with the NotImplementedType.  Does anyone
know of a way to get numpy to raise instead of returning not
implemented type?

(Pydb) other.value
NotImplemented
(Pydb) print other.value
NotImplemented
(Pydb) type(other.value)
<type 'NotImplementedType'>


--Tom



More information about the NumPy-Discussion mailing list