Skip to content

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

Merged
serhiy-storchaka merged 1 commit into
python:masterfrom
serhiy-storchaka:random-randbelow
May 8, 2018
Merged

bpo-33144: Fix choosing random.Random._randbelow implementation.#6563
serhiy-storchaka merged 1 commit into
python:masterfrom
serhiy-storchaka:random-randbelow

Conversation

@serhiy-storchaka

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

Copy link
Copy Markdown
Member

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