On Thu, May 27, 2010 at 9:59 AM, <josef.p...@gmail.com> wrote:

> A while ago we had a brief discussion about this.
>
>
> Is this a feature? or should there be a ticket for this
>
> >>> np.sqrt('5')
> NotImplemented
> >>> a = np.sqrt('5')
> >>> a
> NotImplemented
> >>> type(a)
> <type 'NotImplementedType'>
>
>
Maybe an enhancement ticket. The NotImplemented return is appropriate for
some functions, but for functions with a single argument we should probably
raise an error.

Chuck
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to