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 methane
Recipients benjamin.peterson, methane, serhiy.storchaka, vstinner
Date 2018-07-12.08:31:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAEfz+Ty4Z6N-x-JVN1htCOEF2gMbH_a9bYXRXd_8qiNpAxkf9w@mail.gmail.com>
In-reply-to <1531382440.99.0.56676864532.issue34093@psf.upfronthosting.co.za>
Content
> STINNER Victor <vstinner@redhat.com> added the comment:
>
> According to Serhiy Storchaka, currently marshal.dumps() writes frozenset in arbitrary order, and so frozenset serialization is not reproducible:
> https://mail.python.org/pipermail/python-dev/2018-July/154604.html

PYTHONHASHSEED can be used to stable frozenset order.

On the other hand, refcnt based approach is more unstable.
Even when x is y, dumps(x) == dumps(y) is not guaranteed.
History
Date User Action Args
2018-07-12 08:31:29methanesetrecipients: + methane, vstinner, benjamin.peterson, serhiy.storchaka
2018-07-12 08:31:29methanelinkissue34093 messages
2018-07-12 08:31:29methanecreate