[Python-ideas] Use the plus operator to concatenate iterators

Chris Angelico rosuav at gmail.com
Wed Aug 5 03:06:53 CEST 2015


On Wed, Aug 5, 2015 at 11:01 AM, Alexander Belopolsky
<alexander.belopolsky at gmail.com> wrote:
> Nevertheless, I am -1 on the idea.  It is bad enough that Python
> abuses + as sequences concatenation operator.

I'm -1 on this idea, but I disagree that concrete sequence
concatenation is bad. (I'm not sure it applies to sequence protocol,
incidentally; it's specific to lists and tuples.) Being able to add a
list and a list is a perfectly reasonable feature.

ChrisA


More information about the Python-ideas mailing list