[issue45186] Marshal output isn't completely deterministic.
Eric Snow
report at bugs.python.org
Wed Sep 15 14:56:56 EDT 2021
Eric Snow <ericsnowcurrently at gmail.com> added the comment:
That's a good idea. It's certainly cleaner than the approach I took (optionally pass in to marshal.dumps() the list of "before" object/refcount pairs to compare in w_ref()).
Adding a flag to marshal.dumps() to opt out shouldn't be too big a deal. (I expect all users of marshal will want the improvement by default.)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45186>
_______________________________________
More information about the Python-bugs-list
mailing list