4 ms·
> make it non-deterministic In Python v3.1 - v3.5 the order is deterministic within an execution, but non-deterministic across executions. This was implemented
by xapata 10y ago
> make it non-deterministic
In Python v3.1 - v3.5 the order is deterministic within an execution, but non-deterministic across executions. This was implemented to avoid the possibility that a hacker could slow down dict key lookup/insertion by creating a large number of hash table collisions.
https://mail.python.org/pipermail/python-announce-list/2012-March/009394.html https://mail.python.org/pipermail/python-announce-list/2012-...
IMHO, that doesn't seem to be a big vulnerability.
- deleted 10y ago[deleted]
- wahern 10y agoIt never seemed to catch on with the bad guys, but that doesn't mean it wouldn't have happened if major languages hadn't implemented counter measures. DDoS using DNS amplification was possible for decades but never happened. Then one day a bad guy got bored, wrote a proof-of-concept, and the rest is history.