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

bpo-33144: Fix choosing random.Random._randbelow implementation. #6563

Merged
merged 1 commit into from
May 8, 2018

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Apr 21, 2018

random() takes precedence over getrandbits() if defined later in the class tree.

https://bugs.python.org/issue33144

random() takes precedence over getrandbits() if defined later
in the class tree.
@serhiy-storchaka serhiy-storchaka added type-bug An unexpected behavior, bug, or error skip news labels Apr 21, 2018
@serhiy-storchaka serhiy-storchaka merged commit ec1622d into python:master May 8, 2018
@serhiy-storchaka serhiy-storchaka deleted the random-randbelow branch May 8, 2018 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants