[Numpy-discussion] np.equal

Charles R Harris charlesr.harris at gmail.com
Mon Dec 7 11:43:12 EST 2009


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

> 2009/12/6 josef.pktd <josef.pktd at 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.python.org/pipermail/numpy-discussion/attachments/20091207/bc414adb/attachment.html>


More information about the NumPy-Discussion mailing list