[Python-Dev] Death to string functions!

M.-A. Lemburg mal@lemburg.com
Fri, 15 Dec 2000 23:44:15 +0100


Guido van Rossum wrote:
> 
> > Can you explain the logic behind this recent interest in removing
> > string functions from the standard library?  It it performance?
> > Some unicode issue?  I don't have a great attachment to string.py
> > but I also don't see the justification for the amount of work it
> > requires.
> 
> I figure that at *some* point we should start putting our money where
> our mouth is, deprecate most uses of the string module, and start
> warning about it.  Not in 2.1 probably, given my experience below.
> 
> As a realistic test of the warnings module I played with some warnings
> about the string module, and then found that say most of the std
> library modules use it, triggering an extraordinary amount of
> warnings.  I then decided to experiment with the conversion.  I
> quickly found out it's too much work to do manually, so I'll hold off
> until someone comes up with a tool that does 99% of the work.

This would also help a lot of programmers out there who are
stuch with 100k LOCs of Python code using string.py ;)

-- 
Marc-Andre Lemburg
______________________________________________________________________
Company:                                        http://www.egenix.com/
Consulting:                                    http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/