[Numpy-discussion] NotImplementedType

Tom Denniston tom.denniston@alum.dartmouth....
Fri Sep 14 15:48:48 CDT 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