Raymond Hettinger added the comment: > some libraries I use rely on the order of items in Python dictionaries for > their output
Your choices are: * create a custom hash function using __hash__ * or sort the output from within Python * or sort the output externally, prior to diffing. > From my perspective it would be nice to just be able > to set PYTHONHASH32BIT The odds of this being accepted are almost zero. We're moving in the opposite direction of randomizing the hash from run-to-run. ---------- nosy: +rhettinger _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22621> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com