[Numpy-discussion] np.equal

Charles R Harris charlesr.harris@gmail....
Mon Dec 7 10:43:12 CST 2009


On Mon, Dec 7, 2009 at 12:01 AM, Fernando Perez <fperez.net@gmail.com>wrote:

> 2009/12/6 josef.pktd <josef.pktd@gmail.com>:
> >>>> np.equal(np.arange(5),'a')
> > NotImplemented
>
> Why is NotImplemented a *return* value?  Normally NotImplementedError
>

NotImplemented and NotImplementedError are different things. The first is a
message to the interpreter, the second an error.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20091207/bc414adb/attachment.html 


More information about the NumPy-Discussion mailing list