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

NumPy Trac numpy-tickets@scipy....
Sun Sep 5 13:57:40 CDT 2010


#1416: functions returned by frompyfunc() cause segmentation faults
------------------------+---------------------------------------------------
 Reporter:  ernest_ac   |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:          
Component:  numpy.core  |     Version:          
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by pv):

 Doesn't crash with
 {{{
 >>> f = np.frompyfunc(lambda x: x, 1, 1)
 >>> f([1,2,3])
 array([1, 2, 3], dtype=object)
 }}}
 Seems like it doesn't like invalid values for the `nin` or `nout`
 parameters.

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


More information about the NumPy-Tickets mailing list