[Numpy-discussion] ANN: Numpy 1.6.0 release candidate 2

Derek Homeier derek at astro.physik.uni-goettingen.de
Tue May 3 18:58:39 EDT 2011


Hi Ralf,

> I am pleased to announce the availability of the second release
> candidate of NumPy 1.6.0.
> 
> Compared to the first release candidate, one segfault on (32-bit
> Windows + MSVC) and several memory leaks were fixed. If no new
> problems are reported, the final release will be in one week.

I found a problem apparently related to string handling on MacOS X 
10.5/ppc with Python3 - not a new one though, at least it seemed to 
be present with 1.6.0b2:

>>> numpy.test('full')
Running unit tests for numpy
NumPy version 1.6.0rc2
NumPy is installed in /sw/lib/python3.2/site-packages/numpy
Python version 3.2 (r32:88445, Mar  1 2011, 18:28:16) [GCC 4.0.1 (Apple Inc. build 5493)]
nose version 1.0.0
...
======================================================================
FAIL: test_return_character.TestF77ReturnCharacter.test_all
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/sw/lib/python3.2/site-packages/nose/case.py", line 188, in runTest
    self.test(*self.arg)
  File "/sw/lib/python3.2/site-packages/numpy/f2py/tests/test_return_character.py", line 78, in test_all
    self.check_function(getattr(self.module, name))
  File "/sw/lib/python3.2/site-packages/numpy/f2py/tests/test_return_character.py", line 12, in check_function
    r = t(array('ab'));assert_( r==asbytes('a'),repr(r))
  File "/sw/lib/python3.2/site-packages/numpy/testing/utils.py", line 34, in assert_
    raise AssertionError(msg)
AssertionError: b' '

======================================================================
FAIL: test_return_character.TestF90ReturnCharacter.test_all
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/sw/lib/python3.2/site-packages/nose/case.py", line 188, in runTest
    self.test(*self.arg)
  File "/sw/lib/python3.2/site-packages/numpy/f2py/tests/test_return_character.py", line 136, in test_all
    self.check_function(getattr(self.module.f90_return_char, name))
  File "/sw/lib/python3.2/site-packages/numpy/f2py/tests/test_return_character.py", line 12, in check_function
    r = t(array('ab'));assert_( r==asbytes('a'),repr(r))
  File "/sw/lib/python3.2/site-packages/numpy/testing/utils.py", line 34, in assert_
    raise AssertionError(msg)
AssertionError: b' '

All the previous failures on ppc are gone now, and with Python2.[4567] all tests are passing!
On Intel MacOS X (10.5/i386 and 10.6/x86_64) everything is OK for Python 2.5-3.2 as well.

Cheers,
								Derek





More information about the NumPy-Discussion mailing list