[Python-Dev] String methods... finally

David Ascher da at ski.org
Fri Jun 11 20:24:34 CEST 1999


On Fri, 11 Jun 1999, Barry A. Warsaw wrote:

> IMO, builtin join ought to str()ify all the elements in the sequence,
> concatenating the results.  That seems an intuitive interpretation of
> 'join'ing a sequence.  Here's my Python prototype:

I don't get it -- why?  

I'd expect join(((1,2,3), (4,5,6))) to yield (1,2,3,4,5,6), not anything
involving strings.

--david





More information about the Python-Dev mailing list