Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
Is it possible to defer hash randomization until after pycs are generated? The underlying problem here is an intentional scrambling of data. If determinism is what is desired then deferring that action addresses the action cause of non-determinism rather than a downstream manifestation. Scrambling hashes provides a somewhat limited (and bypassable) security value. What it protects against is maliciously chosen user keys. That can only occur after modules are loaded. The risk isn't intrinsic to the module itself. Really, I don't think we should be rewriting sets to achieve this very limited goal that benefits very few users. That seems like the tail wagging the dog. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37596> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com