Message262744
A user can use map(), filter(), zip() without knowing anything about generators. In most cases those function will do their magic and provide a finite number of outputs.
The weighted_choice_generator on the other hand isn't as easy to use. If the user wants 5 values from it, they need to know about `take()` from itertools or call `next()`. |
|
| Date |
User |
Action |
Args |
| 2016-04-01 15:43:11 | Christian.Kleineidam | set | recipients:
+ Christian.Kleineidam, tim.peters, rhettinger, mark.dickinson, pitrou, aisaac, westley.martinez, serhiy.storchaka, NeilGirdhar, madison.may, dkorchem, xksteven |
| 2016-04-01 15:43:11 | Christian.Kleineidam | set | messageid: <[email protected]> |
| 2016-04-01 15:43:11 | Christian.Kleineidam | link | issue18844 messages |
| 2016-04-01 15:43:11 | Christian.Kleineidam | create | |
|