Terry Reedy tjreedy at
Thu Jun 19 22:22:51 CEST 2003

"Paul Rubin" <> wrote in message
news:7xu1amvu8g.fsf at
> Alex Martelli <aleax at> writes:
> > No, if sum accepted a sequence of strings it WOULD
> > have to delegate to ''.join in that case -- and I just couldn't
> > find an elegant and totally general way to do that.
> Why can't it just check if all the values are strings, and delegate
> they are?

For one thing, *all* users would have to pay the checking time for
those who wanted to save three chars and write 'sum' instead
of"''.join".  As someone willing to do the latter, doesn't seem quite


More information about the Python-list mailing list