From: Christian Heimes Date: Wed, 20 Nov 2013 11:49:05 +0000 (+0100) Subject: Issue #19183: too many tests depend on the sort order of repr(). X-Git-Tag: v3.4.0b1~161 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5bcd7c0ee65c3b0cf711e69d4fff723eb9673b5;p=python 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. --- diff --git a/Python/pyhash.c b/Python/pyhash.c index 158c631f6b..19aeeb7143 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; }