[Python-checkins] cpython: Issue #19183: too many tests depend on the sort order of repr().
christian.heimes
python-checkins at python.org
Wed Nov 20 12:49:14 CET 2013
http://hg.python.org/cpython/rev/961d832d8734
changeset: 87291:961d832d8734
user: Christian Heimes <christian at cheimes.de>
date: Wed Nov 20 12:49:05 2013 +0100
summary:
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.
files:
Python/pyhash.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/Python/pyhash.c b/Python/pyhash.c
--- a/Python/pyhash.c
+++ b/Python/pyhash.c
@@ -415,9 +415,6 @@
/* modified */
t = (v0 ^ v1) ^ (v2 ^ v3);
-#if SIZEOF_VOID_P == 4
- t ^= (t >> 32);
-#endif
return (Py_hash_t)t;
}
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list