Python 3000 idea -- + on iterables -> itertools.chain

Fredrik Lundh fredrik at pythonware.com
Mon Nov 13 02:17:24 CET 2006


John Reese wrote:

> It seems like it would be clear and mostly backwards compatible if the
> + operator on any iterables created a new iterable that iterated
> throught first its left operand and then its right, in the style of
> itertools.chain. 

you do know that "iterable" is an informal interface, right?  to what 
class would you add this operation?

</F>




More information about the Python-list mailing list