[NumPy-Tickets] [NumPy] #2107: numpy False is not python False

NumPy Trac numpy-tickets@scipy....
Mon Apr 16 09:14:23 CDT 2012


#2107: numpy False is not python False
--------------------+-------------------------------------------------------
 Reporter:  alexa   |       Owner:  somebody   
     Type:  defect  |      Status:  new        
 Priority:  normal  |   Milestone:  Unscheduled
Component:  Other   |     Version:  1.6.1      
 Keywords:          |  
--------------------+-------------------------------------------------------
 i doubt this is a bug, but i found the following behavior unexpected.

 >np.False_ is False
 returns `False`

 >np.False_ == False
 returns `True`

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


More information about the NumPy-Tickets mailing list