[issue40282] random.getrandbits(0) should succeed

Antoine Pitrou report at bugs.python.org
Tue Apr 14 16:51:04 EDT 2020


Antoine Pitrou <solipsis at pitrou.net> added the comment:

About a hypothetical getrandbytes(), probably 90% of my uses of getrandbits() have been to generate random bytestrings.

----------

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


More information about the Python-bugs-list mailing list