[NumPy-Tickets] [NumPy] #2119: Indexing with a boolean scalar array -> segfault

NumPy Trac numpy-tickets@scipy....
Sat Apr 28 03:49:51 CDT 2012


#2119: Indexing with a boolean scalar array -> segfault
------------------------+---------------------------------------------------
 Reporter:  njs         |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  Unscheduled
Component:  numpy.core  |     Version:  devel      
 Keywords:              |  
------------------------+---------------------------------------------------
 This has the same result in 1.5.1 (as shipped by Ubuntu 11.04) and in
 current master (3cb783ecc96fb):

 {{{
 >>> import numpy as np
 >>> a = np.zeros((2, 2))
 >>> a[np.asarray(True)]
 zsh: segmentation fault  python
 ~$
 }}}

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


More information about the NumPy-Tickets mailing list