Skip to content

Commit a5bcd7c

Browse files
committed
Issue python#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.
1 parent 5132493 commit a5bcd7c

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Python/pyhash.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,6 @@ siphash24(const void *src, Py_ssize_t src_sz) {
415415

416416
/* modified */
417417
t = (v0 ^ v1) ^ (v2 ^ v3);
418-
#if SIZEOF_VOID_P == 4
419-
t ^= (t >> 32);
420-
#endif
421418
return (Py_hash_t)t;
422419
}
423420

0 commit comments

Comments
 (0)