Mark Dickinson <[email protected]> added the comment: @ariddell: What behaviour did you want to see here?
It wouldn't have occurred to me to even try using `random.choices` with negative weights; forcing the weights to be nonnegative (with strictly positive sum) sounds like a natural restriction. ---------- nosy: +mark.dickinson, rhettinger _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue31689> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
