Message332639
Steven, my requirement calls for same hash on multiple machines. Python's hash (for strings) is keyed with a random value.
You are correct that `hash(tuple(map(ord, str(something))))` is stable.
In the worst case, I could override `PYTHONHASHSEED` globally.
I suppose this relegates my suggestion to "why not" or "because we can" category. |
|
Date |
User |
Action |
Args |
2018-12-28 04:04:28 | Dima.Tisnek | set | recipients:
+ Dima.Tisnek, steven.daprano |
2018-12-28 04:04:26 | Dima.Tisnek | set | messageid: <1545969866.26.0.69260487679.issue35600@roundup.psfhosted.org> |
2018-12-28 04:04:26 | Dima.Tisnek | link | issue35600 messages |
2018-12-28 04:04:26 | Dima.Tisnek | create | |
|