[issue45186] Marshal output isn't completely deterministic.

Guido van Rossum report at bugs.python.org
Wed Sep 15 13:59:21 EDT 2021


Guido van Rossum <guido at python.org> added the comment:

I would propose that marshal internally make an extra pass over its input in order to determine which objects are referenced multiple times. This will speed up reading marshalled data (in addition to addressing the reproducibility issue with debug builds) at the cost of slowing down writing it, so there may need to be a way for 3rd party users to turn this off (or a way for importlib and compileall to turn it on).

----------
nosy: +gvanrossum

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45186>
_______________________________________


More information about the Python-bugs-list mailing list