[Python-modules-team] Bug#872285: More info about nondeterminism_added_by_pyqt5_pyrcc5

2017-08-16 Thread Federico Brega
Hi Ximin, > It might be safer to subclass QHash into a deterministic QDetHash or > something. This would allow one to use QHash both non-deterministically (to > protect against DoS attacks) and deterministically in the same program, > depending on the use-case. > > For example, the rust

[Python-modules-team] Bug#872285: More info about nondeterminism_added_by_pyqt5_pyrcc5

2017-08-16 Thread Federico Brega
Hi Ximin, > It might be safer to subclass QHash into a deterministic QDetHash or > something. This would allow one to use QHash both non-deterministically (to > protect against DoS attacks) and deterministically in the same program, > depending on the use-case. > > For example, the rust

[Python-modules-team] Bug#872285: pyqt5-dev-tools: please make the built resources reproducible (randomness)

2017-08-15 Thread Federico Brega
by the cpp part of pyrcc. This removes the randomness out of QHash, so generating the same resource file twice gives identical files. Description: Make the build reproducible Author: Federico Brega <charon...@gmail.com> Last-Update: 2017-08-15 --- a/qpy/pyrcc/rcc.h +++ b/qpy/pyrcc/rcc.h @@