Dima Tisnek <dim...@gmail.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35600>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to