[Python-3000] Automatically invoking str() in str.join()

Fredrik Lundh fredrik at pythonware.com
Mon May 1 10:57:56 CEST 2006


Thomas Wouters wrote:

> > join()
> >
> > it's time to make this a builtin.  the "it's the separator that's doing
> > the
> > joining" idea is silly and unintuitive, and should be fixed.
>
>
> I disagree, and I believe that would be a big mistake to change it.

big mistake?

can anyone point to one other example where "call method on
literal" is used in Python ?

didn't think so.

(there's been more "cannot find out how to join strings" posts on
c.l.python since my last post on this topic, btw ;-)

</F>





More information about the Python-3000 mailing list