Skip to content

Commit

Permalink
Issue python#19183: too many tests depend on the sort order of repr().
Browse files Browse the repository at this point in the history
The bitshift and xor op for 32bit builds has changed the order of hash values.
  • Loading branch information
tiran committed Nov 20, 2013
1 parent 5132493 commit a5bcd7c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Python/pyhash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a5bcd7c

Please sign in to comment.