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 vstinner
Recipients mark.dickinson, rhettinger, serhiy.storchaka, tim.peters, veky, vstinner
Date 2020-04-24.09:32:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587720757.82.0.468537028351.issue40286@roundup.psfhosted.org>
In-reply-to
Content
Raymond:
> The randbytes() method needs to depend on genrandbits().

I created PR 19700 which allows to keep the optimization (C implementation in _randommodule.c) and Random subclasses implement randbytes() with getrandbits().
History
Date User Action Args
2020-04-24 09:32:37vstinnersetrecipients: + vstinner, tim.peters, rhettinger, mark.dickinson, serhiy.storchaka, veky
2020-04-24 09:32:37vstinnersetmessageid: <1587720757.82.0.468537028351.issue40286@roundup.psfhosted.org>
2020-04-24 09:32:37vstinnerlinkissue40286 messages
2020-04-24 09:32:37vstinnercreate