[Numpy-discussion] Crash with nested recarray on Python 3.x

Christoph Gohlke cgohlke at uci.edu
Thu Mar 10 01:20:07 EST 2011


Hello,

the following code crashes in the last line when using numpy 1.5.1 on 
Python 3.1 and 3.2, 32 and 64 bit, for Windows. It works with Python 
2.x. Can anyone confirm the crash on other platforms?

import numpy
RECORD1 = [('i', 'i4')]
RECORD2 = [('j', RECORD1, 2)]
a = numpy.recarray((1,), RECORD2)
a.data


Christoph




More information about the NumPy-Discussion mailing list