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 rhettinger
Recipients Brian Nenninger, brendan-donegan, brendand, josh.r, rhettinger, steven.daprano
Date 2016-12-30.05:42:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483076541.08.0.575545587454.issue29061@psf.upfronthosting.co.za>
In-reply-to
Content
_randbelow is a private api and it is not broken, it is just being misused by the secrets module.   All of the other calls to it are already range checked and it would be inefficient and unnecessary to repeat this the check.

Brendan, thank you for the updated patch.  It looks correct.  I will apply shortly.

Please do follow-up with Ewa so we can get the asterisk to appear by your name :-)
History
Date User Action Args
2016-12-30 05:42:21rhettingersetrecipients: + rhettinger, steven.daprano, josh.r, brendan-donegan, brendand, Brian Nenninger
2016-12-30 05:42:21rhettingersetmessageid: <1483076541.08.0.575545587454.issue29061@psf.upfronthosting.co.za>
2016-12-30 05:42:21rhettingerlinkissue29061 messages
2016-12-30 05:42:20rhettingercreate