[Numpy-tickets] [NumPy] #936: Hashing protocol violation.

NumPy numpy-tickets@scipy....
Wed Oct 15 18:15:45 CDT 2008


#936: Hashing protocol violation.
---------------------+------------------------------------------------------
 Reporter:  charris  |        Owner:  somebody
     Type:  defect   |       Status:  new     
 Priority:  normal   |    Milestone:  1.3.0   
Component:  Other    |      Version:  none    
 Severity:  normal   |   Resolution:          
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by rkern):

 This definition of tp_hash was added in r3005 because it was being used in
 a cache for the ctypes support. I think that a new implementation which
 correctly defines the hash function such that equal dtypes hash equal is
 the way to go. We cannot simply set tp_hash to NULL.

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


More information about the Numpy-tickets mailing list