[NumPy-Tickets] [NumPy] #1775: frompyfunc function segfault (was: Vectorized function segfault)

NumPy Trac numpy-tickets@scipy....
Wed May 16 21:15:10 CDT 2012


#1775: frompyfunc function segfault
------------------------+---------------------------------------------------
 Reporter:  borisaqua   |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  Unscheduled
Component:  numpy.core  |     Version:  devel      
 Keywords:  frompyfunc  |  
------------------------+---------------------------------------------------
Changes (by mforbes):

  * keywords:  => frompyfunc
  * component:  Other => numpy.core


Comment:

 The real problem is not ``vectorize`` but ``frompyfunc`` which fails for
 ``nout >= 32``:
 {{{
 >>> np.frompyfunc(lambda a: tuple([a]*31), 1, 31)(1)
 (1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 1, 1, 1, 1, 1, 1, 1)
 >>> np.frompyfunc(lambda a: tuple([a]*32), 1, 32)(1)
 Segmentation fault
 }}}

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


More information about the NumPy-Tickets mailing list