[Numpy-discussion] ANN: NumPy 1.5.0 beta 1

Bruce Southey bsouthey at gmail.com
Sun Aug 1 22:18:57 EDT 2010


On Sun, Aug 1, 2010 at 9:10 PM, Ralf Gommers
<ralf.gommers at googlemail.com> wrote:
>
>
> On Mon, Aug 2, 2010 at 7:10 AM, Alan G Isaac <alan.isaac at gmail.com> wrote:
>>
>> On 8/1/2010 12:38 PM, Ralf Gommers wrote:
>> > Binaries, sources and release notes can be found at
>> > https://sourceforge.net/projects/numpy/files/
>> > <https://sourceforge.net/projects/numpy/files/>
>>
>> I'm not seeing them.
>>
> I see them now. Normally SF updates in <15min, this time it took half a day
> for some reason.
>
> Cheers,
> Ralf
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
Hi,
I get a lot of umath_complex related problems with Python 2.6.3 32-bit
on 64-bit Windows 7.

Bruce

Python 2.6.3 (r263rc1:75186, Oct  2 2009, 20:40:30) [MSC v.1500 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license()" for more information.

    ****************************************************************
    Personal firewall software may warn about the connection IDLE
    makes to its subprocess using this computer's internal loopback
    interface.  This connection is not visible on any external
    interface and no data is sent to or received from the Internet.
    ****************************************************************

IDLE 2.6.3
>>> import numpy
>>> numpy.test()
Running unit tests for numpy
NumPy version 1.5.0b1
NumPy is installed in E:\Python26\lib\site-packages\numpy
Python version 2.6.3 (r263rc1:75186, Oct  2 2009, 20:40:30) [MSC
v.1500 32 bit (Intel)]
nose version 0.11.1
..............................................................................................................E........................................................................................................................................................................................................................................................................................................................................................................K................................................................................................................................................................................................................................K..........................................................K..K..............................K........F....FFFF.....K.F.........FF..FFF.....F................................................................................S..................................................................................................................................................................................................................................................................................................................................................................................................................................................K.........K..........................................................................................................................................................................................................................................................................................................................................................................................................................................................S...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
ERROR: test_filename (test_memmap.TestMemmap)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python26\lib\site-packages\numpy\core\tests\test_memmap.py",
line 60, in test_filename
    os.unlink(tmpname)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\mmapklcldk'

======================================================================
FAIL: test_umath_complex.TestCexp.test_special_values(<ufunc 'exp'>,
inf, 0, inf, 0)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python26\lib\site-packages\nose-0.11.1-py2.6.egg\nose\case.py",
line 183, in runTest
    self.test(*self.arg)
  File "E:\Python26\lib\site-packages\numpy\core\tests\test_umath_complex.py",
line 539, in check_complex_value
    assert_equal(f(z1), z2)
  File "E:\Python26\lib\site-packages\numpy\testing\utils.py", line
256, in assert_equal
    return assert_array_equal(actual, desired, err_msg, verbose)
  File "E:\Python26\lib\site-packages\numpy\testing\utils.py", line
686, in assert_array_equal
    verbose=verbose, header='Arrays are not equal')
  File "E:\Python26\lib\site-packages\numpy\testing\utils.py", line
596, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Arrays are not equal

(x and y nan location mismatch [ True], False mismatch)
 x: array([ inf nanj])
 y: array((inf+0j))
>>  raise AssertionError('\nArrays are not equal\n\n(x and y nan location mismatch [ True], False mismatch)\n x: array([ inf nanj])\n y: array((inf+0j))')


======================================================================
FAIL: test_umath_complex.TestCexp.test_special_values(None,)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python26\lib\site-packages\nose-0.11.1-py2.6.egg\nose\case.py",
line 183, in runTest
    self.test(*self.arg)
  File "E:\Python26\lib\site-packages\numpy\core\tests\test_umath_complex.py",
line 60, in _check_ninf_inf
    raise AssertionError(msgform %(z.real, z.imag))
AssertionError: cexp(-inf, inf) is (-1.#IND00, -1.#IND00), expected (+-0, +-0)
>>  raise AssertionError('cexp(-inf, inf) is (%f, %f), expected (+-0, +-0)' %((nan+nan*j).real, (nan+nan*j).imag))


======================================================================
FAIL: test_umath_complex.TestCexp.test_special_values(None,)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python26\lib\site-packages\nose-0.11.1-py2.6.egg\nose\case.py",
line 183, in runTest
    self.test(*self.arg)
  File "E:\Python26\lib\site-packages\numpy\core\tests\test_umath_complex.py",
line 73, in _check_inf_inf
    raise AssertionError(msgform % (z.real, z.imag))
AssertionError: cexp(inf, inf) is (-1.#IND00, -1.#IND00), expected (+-inf, nan)
>>  raise AssertionError('cexp(inf, inf) is (%f, %f), expected (+-inf, nan)' % ((nan+nan*j).real, (nan+nan*j).imag))


======================================================================
FAIL: test_umath_complex.TestCexp.test_special_values(None,)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python26\lib\site-packages\nose-0.11.1-py2.6.egg\nose\case.py",
line 183, in runTest
    self.test(*self.arg)
  File "E:\Python26\lib\site-packages\numpy\core\tests\test_umath_complex.py",
line 86, in _check_ninf_nan
    raise AssertionError(msgform % (z.real, z.imag))
AssertionError: cexp(-inf, nan) is (1.#QNAN0, 1.#QNAN0), expected (+-0, +-0)
>>  raise AssertionError('cexp(-inf, nan) is (%f, %f), expected (+-0, +-0)' % ((nan+nan*j).real, (nan+nan*j).imag))


======================================================================
FAIL: test_umath_complex.TestCexp.test_special_values(None,)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python26\lib\site-packages\nose-0.11.1-py2.6.egg\nose\case.py",
line 183, in runTest
    self.test(*self.arg)
  File "E:\Python26\lib\site-packages\numpy\core\tests\test_umath_complex.py",
line 99, in _check_inf_nan
    raise AssertionError(msgform % (z.real, z.imag))
AssertionError: cexp(-inf, nan) is (1.#QNAN0, 1.#QNAN0), expected (+-inf, nan)
>>  raise AssertionError('cexp(-inf, nan) is (%f, %f), expected (+-inf, nan)' % ((nan+nan*j).real, (nan+nan*j).imag))


======================================================================
FAIL: test_special_values (test_umath_complex.TestClog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python26\lib\site-packages\numpy\core\tests\test_umath_complex.py",
line 144, in test_special_values
    self.assertRaises(FloatingPointError, np.log, x)
AssertionError: FloatingPointError not raised
    if hasattr(excClass,'__name__'): 'FloatingPointError' = excClass.'unittest'
    else: 'FloatingPointError' = str(excClass)
>>  raise self.failureException, "%s not raised" % 'FloatingPointError'


======================================================================
FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>,
1, inf, inf, inf)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python26\lib\site-packages\nose-0.11.1-py2.6.egg\nose\case.py",
line 183, in runTest
    self.test(*self.arg)
  File "E:\Python26\lib\site-packages\numpy\core\tests\test_umath_complex.py",
line 539, in check_complex_value
    assert_equal(f(z1), z2)
  File "E:\Python26\lib\site-packages\numpy\testing\utils.py", line
256, in assert_equal
    return assert_array_equal(actual, desired, err_msg, verbose)
  File "E:\Python26\lib\site-packages\numpy\testing\utils.py", line
686, in assert_array_equal
    verbose=verbose, header='Arrays are not equal')
  File "E:\Python26\lib\site-packages\numpy\testing\utils.py", line
596, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Arrays are not equal

(x and y nan location mismatch [ True], False mismatch)
 x: array([ inf nanj])
 y: array((inf+inf*j))
>>  raise AssertionError('\nArrays are not equal\n\n(x and y nan location mismatch [ True], False mismatch)\n x: array([ inf nanj])\n y: array((inf+inf*j))')


======================================================================
FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>,
-1, inf, inf, inf)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python26\lib\site-packages\nose-0.11.1-py2.6.egg\nose\case.py",
line 183, in runTest
    self.test(*self.arg)
  File "E:\Python26\lib\site-packages\numpy\core\tests\test_umath_complex.py",
line 539, in check_complex_value
    assert_equal(f(z1), z2)
  File "E:\Python26\lib\site-packages\numpy\testing\utils.py", line
256, in assert_equal
    return assert_array_equal(actual, desired, err_msg, verbose)
  File "E:\Python26\lib\site-packages\numpy\testing\utils.py", line
686, in assert_array_equal
    verbose=verbose, header='Arrays are not equal')
  File "E:\Python26\lib\site-packages\numpy\testing\utils.py", line
596, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Arrays are not equal

(x and y nan location mismatch [ True], False mismatch)
 x: array([ nan infj])
 y: array((inf+inf*j))
>>  raise AssertionError('\nArrays are not equal\n\n(x and y nan location mismatch [ True], False mismatch)\n x: array([ nan infj])\n y: array((inf+inf*j))')


======================================================================
FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>,
inf, inf, inf, inf)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python26\lib\site-packages\nose-0.11.1-py2.6.egg\nose\case.py",
line 183, in runTest
    self.test(*self.arg)
  File "E:\Python26\lib\site-packages\numpy\core\tests\test_umath_complex.py",
line 539, in check_complex_value
    assert_equal(f(z1), z2)
  File "E:\Python26\lib\site-packages\numpy\testing\utils.py", line
256, in assert_equal
    return assert_array_equal(actual, desired, err_msg, verbose)
  File "E:\Python26\lib\site-packages\numpy\testing\utils.py", line
686, in assert_array_equal
    verbose=verbose, header='Arrays are not equal')
  File "E:\Python26\lib\site-packages\numpy\testing\utils.py", line
596, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Arrays are not equal

(x and y nan location mismatch [ True], False mismatch)
 x: array([ inf nanj])
 y: array((inf+inf*j))
>>  raise AssertionError('\nArrays are not equal\n\n(x and y nan location mismatch [ True], False mismatch)\n x: array([ inf nanj])\n y: array((inf+inf*j))')


======================================================================
FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>,
-inf, inf, inf, inf)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python26\lib\site-packages\nose-0.11.1-py2.6.egg\nose\case.py",
line 183, in runTest
    self.test(*self.arg)
  File "E:\Python26\lib\site-packages\numpy\core\tests\test_umath_complex.py",
line 539, in check_complex_value
    assert_equal(f(z1), z2)
  File "E:\Python26\lib\site-packages\numpy\testing\utils.py", line
256, in assert_equal
    return assert_array_equal(actual, desired, err_msg, verbose)
  File "E:\Python26\lib\site-packages\numpy\testing\utils.py", line
686, in assert_array_equal
    verbose=verbose, header='Arrays are not equal')
  File "E:\Python26\lib\site-packages\numpy\testing\utils.py", line
596, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Arrays are not equal

(x and y nan location mismatch [ True], False mismatch)
 x: array([ nan infj])
 y: array((inf+inf*j))
>>  raise AssertionError('\nArrays are not equal\n\n(x and y nan location mismatch [ True], False mismatch)\n x: array([ nan infj])\n y: array((inf+inf*j))')


======================================================================
FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>,
nan, inf, inf, inf)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python26\lib\site-packages\nose-0.11.1-py2.6.egg\nose\case.py",
line 183, in runTest
    self.test(*self.arg)
  File "E:\Python26\lib\site-packages\numpy\core\tests\test_umath_complex.py",
line 539, in check_complex_value
    assert_equal(f(z1), z2)
  File "E:\Python26\lib\site-packages\numpy\testing\utils.py", line
256, in assert_equal
    return assert_array_equal(actual, desired, err_msg, verbose)
  File "E:\Python26\lib\site-packages\numpy\testing\utils.py", line
686, in assert_array_equal
    verbose=verbose, header='Arrays are not equal')
  File "E:\Python26\lib\site-packages\numpy\testing\utils.py", line
596, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Arrays are not equal

(x and y nan location mismatch [ True], False mismatch)
 x: array([ nan nanj])
 y: array((inf+inf*j))
>>  raise AssertionError('\nArrays are not equal\n\n(x and y nan location mismatch [ True], False mismatch)\n x: array([ nan nanj])\n y: array((inf+inf*j))')


======================================================================
FAIL: test_umath_complex.TestCsqrt.test_special_values(None,)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python26\lib\site-packages\nose-0.11.1-py2.6.egg\nose\case.py",
line 183, in runTest
    self.test(*self.arg)
  File "E:\Python26\lib\site-packages\numpy\core\tests\test_umath_complex.py",
line 340, in _check_ninf_nan
    raise AssertionError(msgform % (z.real, z.imag))
AssertionError: csqrt(-inf, nan) is (1.#QNAN0, 1.#QNAN0), expected (nan, +-inf)
>>  raise AssertionError('csqrt(-inf, nan) is (%f, %f), expected (nan, +-inf)' % ((nan+nan*j).real, (nan+nan*j).imag))


----------------------------------------------------------------------
Ran 2456 tests in 30.725s

FAILED (KNOWNFAIL=8, SKIP=2, errors=1, failures=12)
>>>



More information about the NumPy-Discussion mailing list