[NumPy-Tickets] [NumPy] #1416: functions returned by frompyfunc() cause segmentation faults

NumPy Trac numpy-tickets@scipy....
Sun Feb 28 09:55:52 CST 2010


#1416: functions returned by frompyfunc() cause segmentation faults
-----------------------+----------------------------------------------------
 Reporter:  ernest_ac  |       Owner:  somebody
     Type:  defect     |      Status:  new     
 Priority:  normal     |   Milestone:          
Component:  Other      |     Version:          
 Keywords:             |  
-----------------------+----------------------------------------------------
 When called with a last argument equal to zero, frompyfunc produces a
 function that segfaults on execution. Example:

 {{{
 In [3]: f = np.frompyfunc(lambda x: x, 1, 0)
 In [4]: f([1,2,3])
 <segmentation fault>
 }}}

 Observed in Numpy 1.3.0 and in more recent versions.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1416>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list