[issue44593] _randbelow_with_getrandbits may request an unnecessary random bit

Mark Dickinson report at bugs.python.org
Mon Jul 12 16:00:39 EDT 2021


Change by Mark Dickinson <dickinsm at gmail.com>:


----------
resolution:  -> duplicate
superseder:  -> _randbelow_with_getrandbits function inefficient with powers of two

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44593>
_______________________________________


More information about the Python-bugs-list mailing list