[issue43850] unreproducible bytecode: set order depends on random seed for compiled bytecode

Filipe Laíns report at bugs.python.org
Wed Apr 14 20:18:50 EDT 2021


Filipe Laíns <lains at riseup.net> added the comment:

Sorry for the spam, I am trying to figure out the best option here, which is hard to do by myself.

IMO it would be reasonable to create set objects with elements in the order they appear in the code, instead of based on the hash. I am not really sure where is the code responsible for this, and if there are any limitations preventing this from being implemented.

So, my question are: Would you consider this reasonable? Is there anything I am missing?
If there are no issues, could someone point me to the target code?

----------

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


More information about the Python-bugs-list mailing list