This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
In-reply-to <>
> _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.

Thanks for the patch Brendan, and thanks Raymond for applying it.
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