Commit a5bcd7c0 authored by Christian Heimes's avatar Christian Heimes

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.
parent 51324931
...@@ -415,9 +415,6 @@ siphash24(const void *src, Py_ssize_t src_sz) { ...@@ -415,9 +415,6 @@ siphash24(const void *src, Py_ssize_t src_sz) {
/* modified */ /* modified */
t = (v0 ^ v1) ^ (v2 ^ v3); t = (v0 ^ v1) ^ (v2 ^ v3);
#if SIZEOF_VOID_P == 4
t ^= (t >> 32);
#endif
return (Py_hash_t)t; return (Py_hash_t)t;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment