[NumPy-Tickets] [NumPy] #1032: Crash on fastputmask on win32

NumPy Trac numpy-tickets@scipy....
Fri Mar 25 04:00:18 CDT 2011

#1032: Crash on fastputmask on win32
  Reporter:  cdavid  |       Owner:  cdavid     
      Type:  defect  |      Status:  reopened   
  Priority:  normal  |   Milestone:  Unscheduled
 Component:  Other   |     Version:  none       
Resolution:          |    Keywords:             
Changes (by rgommers):

  * status:  closed => reopened
  * resolution:  worksforme =>
  * milestone:  => Unscheduled


 Like David said on-list, working on linux is not a good reason to close
 this - it's a Windows issue. Tried this on win32, works fine with python
 2.5. With python 3.1 I get the following with the test code in the first
 $ wine ../.wine/drive_c/Python31/python.exe crash.py
 Traceback (most recent call last):
   File "crash.py", line 12, in <module>
     base = ma.array(zip(ilist,flist,slist), mask=mask, dtype=ddtype)
   File "Z:\Users\zouzoujing\.wine\drive_c\Python31\lib\site-
 packages\numpy\ma\core.py", line 5735, in array
     fill_value=fill_value, ndmin=ndmin, shrink=shrink)
   File "Z:\Users\zouzoujing\.wine\drive_c\Python31\lib\site-
 packages\numpy\ma\core.py", line 2633, in __new__
     _data = np.array(data, dtype=dtype, copy=copy, subok=True,
 TypeError: expected an object with a buffer interface
 Not sure if that's related to the original crash or not.

Ticket URL: <http://projects.scipy.org/numpy/ticket/1032#comment:12>
NumPy <http://projects.scipy.org/numpy>
My example project

More information about the NumPy-Tickets mailing list