Message366457
If we have to have this, the method name should be differentiated from getrandbits() because the latter returns an integer. I suggest just random.bytes(n), the same as numpy.
> Python already has three functions to generate random bytes:
Now, there will be four ;-) |
|
Date |
User |
Action |
Args |
2020-04-14 23:00:46 | rhettinger | set | recipients:
+ rhettinger, vstinner |
2020-04-14 23:00:46 | rhettinger | set | messageid: <1586905246.01.0.199656354857.issue40286@roundup.psfhosted.org> |
2020-04-14 23:00:46 | rhettinger | link | issue40286 messages |
2020-04-14 23:00:45 | rhettinger | create | |
|