On Sun, Jun 29, 2008 at 09:57:52AM -0600, Charles R Harris wrote:
Hi,

> That's Ticket #709 <http://projects.scipy.org/scipy/numpy/ticket/709>:
> 
> > I'm faily sure that:
> > numpy.isnan(datetime.datetime.now()
> > ...should just return False and not raise an exception.
IMHO numpy.isnan() makes no sense for non-numerical types.

What should numpy.isnan({}) return? It is neither a valid number, nor an 
invalid 
one. So TypeError, as returned currently, seems best to me.

Zbyszek
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to