In article <[EMAIL PROTECTED]>, David Eppstein <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>, > Leo Breebaart <[EMAIL PROTECTED]> wrote: > > > What I can't find an explanation for is why str.join() doesn't > > automatically call str() on its arguments, so that e.g. > > str.join([1,2,4,5]) would yield "1245", and ditto for e.g. > > user-defined classes that have a __str__() defined. > > That would be the wrong thing to do when the arguments are unicodes. Why would it be wrong? I ask this with honest naivete, being quite ignorant of unicode issues. -- http://mail.python.org/mailman/listinfo/python-list