Aahz aahz at
Thu Jun 19 22:19:41 CEST 2003

In article <7xu1amvu8g.fsf at>,
Paul Rubin  <> wrote:
>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 if
>they are?

Wouldn't be a problem if strings were really the only issue, but once
you start adding Unicode and other string-like objects...
Aahz (aahz at           <*>

"If you don't know what your program is supposed to do, you'd better not
start writing it."  --Dijkstra

More information about the Python-list mailing list