Author steven.daprano
Recipients Brian Nenninger, brendan-donegan, brendand, josh.r, python-dev, rhettinger, steven.daprano
Date 2016-12-30.08:00:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20161230080008.GB3887@ando.pearwood.info>
In-reply-to <1483076541.08.0.575545587454.issue29061@psf.upfronthosting.co.za>
Content
> _randbelow is a private api and it is not broken, it is just being 
> misused by the secrets module.

"Misused" seems a bit strong. Should I understand that you dislike the 
wrapper around _randbelow? The implementation was given in the PEP, and 
I don't remember any objections to it, but if you have an alternative 
implementation I'm not wedded to the idea of wrapping _randbelow.

https://www.python.org/dev/peps/pep-0506/#id81

Thanks for the patch Brendan, and thanks Raymond for applying it.
History
Date User Action Args
2016-12-30 08:00:15steven.dapranosetrecipients: + steven.daprano, rhettinger, python-dev, josh.r, brendan-donegan, brendand, Brian Nenninger
2016-12-30 08:00:14steven.dapranolinkissue29061 messages
2016-12-30 08:00:14steven.dapranocreate