bpo-33144: Fix choosing random.Random._randbelow implementation. by serhiy-storchaka · Pull Request #6563 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@serhiy-storchaka

Copy link Copy Markdown

Member

@serhiy-storchaka serhiy-storchaka commented

Apr 21, 2018

edited by bedevere-bot

Loading

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

Reviewers

@rhettinger rhettinger Awaiting requested review from rhettinger

Assignees

No one assigned

Labels

skip news type-bug

An unexpected behavior, bug, or error

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@serhiy-storchaka @the-knights-who-say-ni @bedevere-bot