[issue37624] random.choices has unexpected behavior with negative weights

Raymond Hettinger report at bugs.python.org
Fri Jul 19 04:56:56 EDT 2019


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:


New changeset 8dbe563aa6bd18b8c581951537dfb406d36e8063 by Raymond Hettinger in branch 'master':
bpo-37624: Document weight assumptions for random.choices() (GH-14855)
https://github.com/python/cpython/commit/8dbe563aa6bd18b8c581951537dfb406d36e8063


----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37624>
_______________________________________


More information about the Python-bugs-list mailing list