[Numpy-tickets] [NumPy] #611: [Vista - NPY_OWNDATA] data created in C code deleted on return to python

NumPy numpy-tickets@scipy....
Fri Nov 9 17:56:50 CST 2007


#611: [Vista - NPY_OWNDATA] data created in C code deleted on return to python
------------------------+---------------------------------------------------
 Reporter:  chafporte   |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  highest     |   Milestone:  1.0.5   
Component:  numpy.core  |     Version:  devel   
 Severity:  critical    |    Keywords:          
------------------------+---------------------------------------------------
 I create an array in C.
 I prepare it to be handled by numpy and python,
 I set the flag NPY_OWNDATA.
 then when it exits the C code and return to python,
 the array is correctly handled by numpy and python.
 This works perfectly on every platform (linux, macosx, XP, windows 2000)

 ... but not on VISTA. where the array is deleted right away.

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/611>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list