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 Christian.Kleineidam
Recipients Christian.Kleineidam, NeilGirdhar, aisaac, dkorchem, madison.may, mark.dickinson, pitrou, rhettinger, serhiy.storchaka, tim.peters, westley.martinez, xksteven
Date 2016-04-01.15:43:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1459525391.54.0.847845341376.issue18844@psf.upfronthosting.co.za>
In-reply-to
Content
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()`.
History
Date User Action Args
2016-04-01 15:43:11Christian.Kleineidamsetrecipients: + Christian.Kleineidam, tim.peters, rhettinger, mark.dickinson, pitrou, aisaac, westley.martinez, serhiy.storchaka, NeilGirdhar, madison.may, dkorchem, xksteven
2016-04-01 15:43:11Christian.Kleineidamsetmessageid: <1459525391.54.0.847845341376.issue18844@psf.upfronthosting.co.za>
2016-04-01 15:43:11Christian.Kleineidamlinkissue18844 messages
2016-04-01 15:43:11Christian.Kleineidamcreate