[Numpy-discussion] Request for testing

Jochen Schroeder cycomanic at gmail.com
Sun Feb 21 16:37:52 EST 2010


No Warning for me:

└─(08:26 $)─> python isinf.py 
True


└─(08:26 $)─> python2.5 isinf.py 
True

Python 2.6.4 (r264:75706, Dec  7 2009, 18:43:55)
[GCC 4.4.1] on linux2

Python 2.5.4 (r254:67916, Jan 20 2010, 21:43:02) 
[GCC 4.4.1] on linux2

numpy.version.version
'1.3.0'

└─(08:33 $)─> uname -a
Linux cudos0803 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010
x86_64 GNU/Linux

 └─(08:31 $)─> lsb_release -a
 No LSB modules are available.
 Distributor ID: Ubuntu
 Description:Ubuntu 9.10
 Release: 9.10
 Codename: karmic



On 02/21/10 03:30, Charles R Harris 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

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

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




More information about the NumPy-Discussion mailing list