This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients ariddell, mark.dickinson, rhettinger
Date 2017-10-04.13:18:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507123130.44.0.213398074469.issue31689@psf.upfronthosting.co.za>
In-reply-to
Content
@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.
History
Date User Action Args
2017-10-04 13:18:50mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, ariddell
2017-10-04 13:18:50mark.dickinsonsetmessageid: <1507123130.44.0.213398074469.issue31689@psf.upfronthosting.co.za>
2017-10-04 13:18:50mark.dickinsonlinkissue31689 messages
2017-10-04 13:18:50mark.dickinsoncreate