[Numpy-discussion] test_multiarray.TestIO.test_ascii segmentation fault with Python2.7

Bruce Southey bsouthey@gmail....
Tue Dec 15 09:30:08 CST 2009

After installing Python2.7, a patched nose 
(http://bitbucket.org/kumar303/nose-2_7_fixes/ because 
unittest._TextTestResult has been removed) and numpy '1.5.0.dev8011', 
numpy.test crashes with a segmentation fault with the test for:

If I understand the test correctly:
$ python
Python 2.7a1 (r27a1:76674, Dec 14 2009, 13:46:01)
[GCC 4.4.1 20090725 (Red Hat 4.4.1-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import numpy as np
 >>> from numpy.compat import asbytes, getexception
 >>> np.fromstring(asbytes('1 , 2 , 3 , 4'),sep=',')
Segmentation fault

This code works under Python2.6 and numpy '1.5.0.dev8011'.


More information about the NumPy-Discussion mailing list