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-24567: Random subnormal.diff #7954

Merged
merged 2 commits into from Jun 27, 2018

Conversation

rhettinger
Copy link
Contributor

@rhettinger rhettinger commented Jun 27, 2018

Make random.choices() handle subnormal input weights.

https://bugs.python.org/issue24567

@bedevere-bot
Copy link

bedevere-bot commented Jun 27, 2018

@rhettinger: Please replace # with GH- in the commit message next time. Thanks!

@miss-islington
Copy link
Contributor

miss-islington commented Jun 27, 2018

Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒🤖

@bedevere-bot
Copy link

bedevere-bot commented Jun 27, 2018

GH-7955 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 27, 2018
Handle subnormal weights for choices()
(cherry picked from commit ddf7171)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
@bedevere-bot
Copy link

bedevere-bot commented Jun 27, 2018

GH-7956 is a backport of this pull request to the 3.6 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 27, 2018
Handle subnormal weights for choices()
(cherry picked from commit ddf7171)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
@rhettinger rhettinger deleted the random_subnormal.diff branch Jun 27, 2018
rhettinger added a commit that referenced this pull request Jun 27, 2018
Handle subnormal weights for choices()
(cherry picked from commit ddf7171)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
rhettinger added a commit that referenced this pull request Jun 27, 2018
Handle subnormal weights for choices()
(cherry picked from commit ddf7171)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
yahya-abou-imran pushed a commit to yahya-abou-imran/cpython that referenced this pull request Nov 2, 2018
Handle subnormal weights for choices()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants