[NumPy-Tickets] [NumPy] #1314: .all() and .any() fail for arrays of type 'S' and 'U'

NumPy Trac numpy-tickets@scipy....
Thu Mar 24 19:33:05 CDT 2011


#1314: .all() and .any() fail for arrays of type 'S' and 'U'
--------------------+-------------------------------------------------------
 Reporter:  mdroe   |       Owner:  somebody   
     Type:  defect  |      Status:  new        
 Priority:  low     |   Milestone:  Unscheduled
Component:  Other   |     Version:  devel      
 Keywords:          |  
--------------------+-------------------------------------------------------
Changes (by mwiebe):

  * version:  => devel
  * milestone:  2.0.0 => Unscheduled


Comment:

 I think this should follow the behavior of Python with regard to strings:

 {{{
 In [8]: print bool(""), bool("x")
 False True
 }}}

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


More information about the NumPy-Tickets mailing list