Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extmod/modurandom: Support an argument of bits=0 to getrandbits. #7335

Merged

Conversation

dpgeorge
Copy link
Member

The was changed in CPython 3.9, to allow 0.

See #6750 and #6922.

This was changed in CPython 3.9; see https://bugs.python.org/issue40282.

Signed-off-by: Damien George <damien@micropython.org>
@dpgeorge dpgeorge force-pushed the extmod-modurandom-getrandbits-zero branch from 579ec29 to c3199f5 Compare May 30, 2021 07:07
@dpgeorge dpgeorge merged commit c3199f5 into micropython:master May 30, 2021
@dpgeorge dpgeorge deleted the extmod-modurandom-getrandbits-zero branch May 30, 2021 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant