This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients rhettinger, vstinner
Date 2020-04-14.23:00:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586905246.01.0.199656354857.issue40286@roundup.psfhosted.org>
In-reply-to
Content
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 ;-)
History
Date User Action Args
2020-04-14 23:00:46rhettingersetrecipients: + rhettinger, vstinner
2020-04-14 23:00:46rhettingersetmessageid: <1586905246.01.0.199656354857.issue40286@roundup.psfhosted.org>
2020-04-14 23:00:46rhettingerlinkissue40286 messages
2020-04-14 23:00:45rhettingercreate