Author inada.naoki
Recipients benjamin.peterson, inada.naoki, serhiy.storchaka, vstinner
Date 2018-07-12.08:31:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
> STINNER Victor <> added the comment:
> According to Serhiy Storchaka, currently marshal.dumps() writes frozenset in arbitrary order, and so frozenset serialization is not reproducible:

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.
Date User Action Args
2018-07-12 08:31:29inada.naokisetrecipients: + inada.naoki, vstinner, benjamin.peterson, serhiy.storchaka
2018-07-12 08:31:29inada.naokilinkissue34093 messages
2018-07-12 08:31:29inada.naokicreate