mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
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.
This commit is contained in:
parent
5132493155
commit
a5bcd7c0ee
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue