[Python-ideas] generator.__add__

Masklinn masklinn at masklinn.net
Sun Apr 4 19:20:25 CEST 2010


On 4 Apr 2010, at 18:58 , cool-RR wrote:
> 
> I'm still a bit confused by generators and generator expressions, but what
> about making a `generator.__add__` method, that'll act like
> `itertools.chain`?
What would the use case be, and why couldn't you use itertools.chain or
generator.send for that?



More information about the Python-ideas mailing list