[Numpy-tickets] [NumPy] #1032: Crash on fastputmask on win32
NumPy
numpy-tickets@scipy....
Mon Mar 2 12:31:47 CST 2009
#1032: Crash on fastputmask on win32
--------------------+-------------------------------------------------------
Reporter: cdavid | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 1.3.0
Component: Other | Version: none
Severity: normal | Resolution:
Keywords: |
--------------------+-------------------------------------------------------
Comment (by cdavid):
The offending test code:
{{{
#!python
import numpy as np
from numpy.ma.testutils import *
import numpy.ma as ma
from numpy.ma.mrecords import mrecarray
ilist = [1,2,3,4,5]
flist = [1.1,2.2,3.3,4.4,5.5]
slist = ['one','two','three','four','five']
ddtype = [('a',int),('b',float),('c','|S8')]
mask = [0,1,0,0,1]
base = ma.array(zip(ilist,flist,slist), mask=mask, dtype=ddtype)
mbase = base.view(mrecarray)
mbase_first = mbase[0]
while 1:
assert_equal(mbase_first.tolist(), (1,1.1,'one'))
}}}
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/1032#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list