Skip to content

isnan should not raise TypeErrors (Trac #709) #1307

@numpy-gitbot

Description

@numpy-gitbot

Original ticket http://projects.scipy.org/numpy/ticket/709 on 2008-03-20 by trac user cjw296, assigned to unknown.

I'm faily sure that:

numpy.isnan(datetime.datetime.now())

...should just return False and not raise an exception.

rationale: anything that is not nan should just return False, not raise TypeErrors.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions