[Python-ideas] + operator on generators

Jan Kaliszewski zuo at chopin.edu.pl
Thu Jun 29 18:57:42 EDT 2017


2017-06-27 Stephan Houben <stephanh42 at gmail.com> dixit:

> Is "itertools.chain" actually that common?
> Sufficiently common to warrant its own syntax?

Please, note that it can be upturned: maybe they are not so common as
they could be because of all that burden with importing from separate
module -- after all we are saying about somewhat very simple operation,
so using lists and `+` just wins because of our (programmers')
laziness. :-)

Cheers.
*j


More information about the Python-ideas mailing list