Message284322
> _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. |
|
Date |
User |
Action |
Args |
2016-12-30 08:00:15 | steven.daprano | set | recipients:
+ steven.daprano, rhettinger, python-dev, josh.r, brendan-donegan, brendand, Brian Nenninger |
2016-12-30 08:00:14 | steven.daprano | link | issue29061 messages |
2016-12-30 08:00:14 | steven.daprano | create | |
|