Skip to content

bpo-40286: Remove C implementation of Random.randbytes()#19797

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:py_randbytes
Apr 29, 2020
Merged

bpo-40286: Remove C implementation of Random.randbytes()#19797
vstinner merged 1 commit intopython:masterfrom
vstinner:py_randbytes

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Apr 29, 2020

Remove _random.Random.randbytes(): the C implementation of
randbytes(). Implement the method in Python to ease subclassing:
randbytes() now directly reuses getrandbits().

https://bugs.python.org/issue40286

Remove _random.Random.randbytes(): the C implementation of
randbytes(). Implement the method in Python to ease subclassing:
randbytes() now directly reuses getrandbits().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants