[issue31689] random.choices does not work with negative weights
Aldwin Pollefeyt
report at bugs.python.org
Fri Jul 19 02:59:20 EDT 2019
Aldwin Pollefeyt <aldwinaldwin at gmail.com> added the comment:
issue37624: not adding an extra O(n) step to check for unusual inputs with undefined meaning -- that would just impair the normal use cases for near zero benefit.
----------
nosy: +aldwinaldwin
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31689>
_______________________________________
More information about the Python-bugs-list
mailing list