2015-10-20 11:11 GMT+02:00 Nick Coghlan <ncogh...@gmail.com>:
> Folks wanting to simulate die rolls should be using the random module
> rather than the secrets module anyway,

Hum, why? Dices are used in Casino where security matters because it
costs money.

A bad API can be more likely misused and introduce security
vulnerability. The C rand() API is a good example: 1+rand()%6 is not
uniform...

Victor
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to