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

Antoine Pitrou solipsis at pitrou.net
Mon May 1 13:21:46 CEST 2006


Le lundi 01 mai 2006 à 10:57 +0200, Fredrik Lundh a écrit :
> 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 ?

It seems it is being considered for string formatting ;-)





More information about the Python-3000 mailing list