No 1.6! (was Re: A REALLY COOL PYTHON FEATURE:)

Fredrik Lundh effbot at telia.com
Thu May 18 11:45:23 EDT 2000


Martijn Faassen <m.faassen at vet.uu.nl> wrote:
> > much better than that non-intuitive 1.6 implementation.  now, all
> > that's left is to implement this.  let's start with the join function...
> 
> > $ cd python-1.6\Lib
> > $ more string.py
> > ...
> > def join(words, sep = ' '):
> >     return sep.join(words)
> > ...
> 
> > hmm.
> 
> That doesn't help us one bit if it's true what an earlier poster said and
> the 'string' module is deprecated.

who said that?

there's lots of stuff in the string module that you cannot
get at via the string methods.

*strop* is deprecated (but still there in 1.6a2), but I don't
think we'll get rid of string that easy...

</F>




More information about the Python-list mailing list