[Numpy-discussion] isposinf returns array, isinf doesn't