消息 [367179]
I created this issue to address Raymond's comment:
"The randbytes() method needs to depend on genrandbits()."
https://bugs.python.org/issue40286#msg366860
I wrote PR 19700 to address that and only that.
With PR 19700, Random subclasses get a randbytes() implementation which uses getrandbits().
*Maybe* we could do the same in Random subclasses for the random() method, so let's start with the simplest PR :-)
Let's fix the randbytes() issue first. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2020-04-24 09:29:32 | vstinner | 修改 | recipients:
+ vstinner, tim.peters, rhettinger, mark.dickinson, pitrou, serhiy.storchaka |
| 2020-04-24 09:29:32 | vstinner | 修改 | messageid: <1587720572.49.0.544151218189.issue40346@roundup.psfhosted.org> |
| 2020-04-24 09:29:32 | vstinner | 链接 | issue40346 messages |
| 2020-04-24 09:29:32 | vstinner | 创建 | |
|