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: <[email protected]> |
| 2014-08-10 09:45:12 | rhettinger | link | issue18844 messages |
| 2014-08-10 09:45:12 | rhettinger | create | |
|