summaryrefslogtreecommitdiffstats
path: root/Python/pyhash.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-11-20 11:49:05 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-11-20 11:49:05 (GMT)
commita5bcd7c0ee65c3b0cf711e69d4fff723eb9673b5 (patch)
tree59dd81347611e722937a0246d68453a8d7b2e098 /Python/pyhash.c
parent51324931553d4a1374374de24c5fe7a7a8ac4cb8 (diff)
downloadcpython-a5bcd7c0ee65c3b0cf711e69d4fff723eb9673b5.zip
cpython-a5bcd7c0ee65c3b0cf711e69d4fff723eb9673b5.tar.gz
cpython-a5bcd7c0ee65c3b0cf711e69d4fff723eb9673b5.tar.bz2
Issue #19183: too many tests depend on the sort order of repr().
The bitshift and xor op for 32bit builds has changed the order of hash values.
Diffstat (limited to 'Python/pyhash.c')
-rw-r--r--Python/pyhash.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/pyhash.c b/Python/pyhash.c
index 158c631..19aeeb7 100644
--- a/Python/pyhash.c
+++ b/Python/pyhash.c
@@ -415,9 +415,6 @@ siphash24(const void *src, Py_ssize_t src_sz) {
/* modified */
t = (v0 ^ v1) ^ (v2 ^ v3);
-#if SIZEOF_VOID_P == 4
- t ^= (t >> 32);
-#endif
return (Py_hash_t)t;
}