[issue37596] Reproducible pyc: frozenset is not serialized in a deterministic order

Brandt Bucher report at bugs.python.org
Wed Aug 25 09:37:33 EDT 2021


Brandt Bucher <brandtbucher at gmail.com> added the comment:

Hm, not quite sure what you mean. Are you talking about just replacing each of the new gotos with “Py_DECREF(pairs); return;”?

Error handling for this whole module is a bit unconventional. Some of the error paths in this function decrement the recursion depth counter, but I *think* that’s actually incorrect here… it looks like it’s our caller’s (w_object) responsibility to do that, error or no error.

----------

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


More information about the Python-bugs-list mailing list