[NumPy-Tickets] [NumPy] #1637: Dtypes should not use '=' in hashing
NumPy Trac
numpy-tickets@scipy....
Wed Oct 13 14:30:47 CDT 2010
#1637: Dtypes should not use '=' in hashing
-----------------------------------+----------------------------------------
Reporter: pv | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 1.5.1
Component: numpy.core | Version: 1.5.0
Keywords: byte order dtype hash |
-----------------------------------+----------------------------------------
Dtypes with byteorder=='<' and byteorder=='=' should hash equal (on big-
endian systems). This does not seem the case now:
http://projects.scipy.org/scipy/ticket/1300
Normally, it's not possible to create dtype objects with the native
variant of '<' and '>' as byte order, as that is converted to '=' in
PyArray_DescrConverter.
However, they might appear from pickling, 3rd party extensions etc., so
doing the right thing would be useful.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1637>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list