Message225133
I'm adverse to adding the generator magic and the level of complexity in this patch. Please aim for the approach I outlined above (one function to build cumulative weights and another function to choose the value).
Since this isn't a new problem, please take a look at how other languages and packages have solved the problem. |
|
Date |
User |
Action |
Args |
2014-08-10 09:45:12 | rhettinger | set | recipients:
+ rhettinger, tim.peters, mark.dickinson, pitrou, aisaac, westley.martinez, serhiy.storchaka, NeilGirdhar, madison.may, dkorchem |
2014-08-10 09:45:12 | rhettinger | set | messageid: <1407663912.4.0.5204420932.issue18844@psf.upfronthosting.co.za> |
2014-08-10 09:45:12 | rhettinger | link | issue18844 messages |
2014-08-10 09:45:12 | rhettinger | create | |
|