This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dima.Tisnek
Recipients Dima.Tisnek, steven.daprano
Date 2018-12-28.04:04:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1545969866.26.0.69260487679.issue35600@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2018-12-28 04:04:28Dima.Tisneksetrecipients: + Dima.Tisnek, steven.daprano
2018-12-28 04:04:26Dima.Tisneksetmessageid: <1545969866.26.0.69260487679.issue35600@roundup.psfhosted.org>
2018-12-28 04:04:26Dima.Tisneklinkissue35600 messages
2018-12-28 04:04:26Dima.Tisnekcreate