[Numpy-tickets] [NumPy] #882: Segmentation fault in array.choose with empty list as argument

NumPy numpy-tickets@scipy....
Thu Aug 28 22:11:42 CDT 2008


#882: Segmentation fault in array.choose with empty list as argument
----------------------+-----------------------------------------------------
 Reporter:  nvj       |        Owner:  cdavid
     Type:  defect    |       Status:  new   
 Priority:  normal    |    Milestone:  1.2.0 
Component:  Other     |      Version:  none  
 Severity:  critical  |   Resolution:        
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by cdavid):

  * owner:  somebody => cdavid

Comment:

 The problem is when PyArray_ConvertToCommonType is called with a sequence
 of 0 items. Not sure what the behavior should be, though (should choose
 fail ? Return an empty array ? Of which type ?)

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


More information about the Numpy-tickets mailing list