[Numpy-discussion] Request for testing

Nils Wagner nwagner at iam.uni-stuttgart.de
Sun Feb 21 05:37:04 EST 2010


On Sun, 21 Feb 2010 03:30:31 -0700
  Charles R Harris <charlesr.harris at gmail.com> wrote:
> Hi All,
> 
> I would be much obliged if some folks would run the 
>attached script and
> report the output, numpy version, and python version. It 
>just runs
> np.isinf(np.inf), which raises an "invalid value" 
>warning with current
> numpy. As far as I can see the function itself hasn't 
>changed since
> numpy1.3, yet numpy1.3 & python2.5 gives no such 
>warning.
> 
> Chuck

python -i isinf.py
2.0.0.dev8233
2.6.2

  
import numpy as np
import warnings
import platform
print np.__version__
print platform.python_version()
warnings.simplefilter('always')
np.seterr(invalid='print')
print (np.isinf(np.inf))

Nils



More information about the NumPy-Discussion mailing list