[NumPy-Tickets] [NumPy] #1449: uint64 hash function bug

NumPy Trac numpy-tickets@scipy....
Fri Apr 9 05:26:37 CDT 2010


#1449: uint64 hash function bug
-------------------------+--------------------------------------------------
 Reporter:  erian        |       Owner:  somebody
     Type:  defect       |      Status:  new     
 Priority:  normal       |   Milestone:  1.4.0   
Component:  numpy.core   |     Version:  1.4.0   
 Keywords:  uint64 hash  |  
-------------------------+--------------------------------------------------
 {{{
 >>> nbr = 1<< 50L
 >>> numpy.uint64(nbr) == nbr
 True
 >>> hash(numpy.uint64(nbr)) == hash(nbr)
 False
 }}}

 Affects 2.0.0.dev8324 as well

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


More information about the NumPy-Tickets mailing list