[Python-Dev] PEP 506 secrets module
Brian Gladman
brg at gladman.plus.com
Sat Oct 17 17:25:38 EDT 2015
> Guido van Rossum wrote:
> I'm fine with dropping the 3rd arg. But I find the argument to
> introduce a new spelling for 1-arg randrange() weak.
I should stress that my preference for randbelow over randrange was
based purely on their proposed functionality and not on their names.
I do however have a preference for a function of minimum required
functionality, i.e. one that allows only a single parameter (N) to
set the range 0 .. N-1.
More information about the Python-Dev
mailing list