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 rhettinger
Recipients IRomanowska, mark.dickinson, rhettinger, tim.peters, xtreak
Date 2019-11-22.10:35:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574418937.46.0.326181452479.issue38881@roundup.psfhosted.org>
In-reply-to
Content
xtreak, the other discussion isn't similar at all.  The OP is proposing that weights all equal to zero be a well-defined way to specify an equiprobable selection.  That is a completely new proposal which is easy to implement, but doesn't make much sense to me.  

The current concept is that the weights express an odds ratio where a zero weight means that an event has no chance of being selected.  This view implies that if all weights are zero, the result is undefined (or an error).

Iza, it seems to me that the provided examples are conflating a zero incremental preference with a zero chance of occurrence.
History
Date User Action Args
2019-11-22 10:35:37rhettingersetrecipients: + rhettinger, tim.peters, mark.dickinson, xtreak, IRomanowska
2019-11-22 10:35:37rhettingersetmessageid: <1574418937.46.0.326181452479.issue38881@roundup.psfhosted.org>
2019-11-22 10:35:37rhettingerlinkissue38881 messages
2019-11-22 10:35:37rhettingercreate