Message367179
| Author |
vstinner |
| Recipients |
mark.dickinson, pitrou, rhettinger, serhiy.storchaka, tim.peters, vstinner |
| Date |
2020年04月24日.09:29:32 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1587720572.49.0.544151218189.issue40346@roundup.psfhosted.org> |
| In-reply-to |
| Content |
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. |
|