Warum tuple(set([1,"a","b","c","z","f"])) == tuple(set(["a","b","c","z","f",1])) 85% der Zeit mit hash-randomization aktiviert?

Angesichts Null Piräus Antwort auf eine andere Frage, die wir haben, dass

x = tuple(set([1, "a", "b", "c", "z", "f"]))
y = tuple(set(["a", "b", "c", "z", "f", 1]))
print(x == y)

Drucke True etwa 85% der Zeit mit hash-Randomisierung aktiviert. Warum 85%?

InformationsquelleAutor Veedrac | 2014-10-01
Schreibe einen Kommentar