[Python-checkins] CVS: python/dist/src/Lib string.py,1.46,1.47

Greg Stein gstein@lyra.org
Fri, 11 Feb 2000 03:46:45 -0800 (PST)

On Fri, 11 Feb 2000, Adrian Eyre wrote:
> > Subject: [Python-checkins] CVS: python/dist/src/Lib string.py,1.46,1.47
> Is this module not obsolete now, seeing as how the string methods have
> been added to the string type?

Nope. There are other things in there, such as string.whitespace or
string.letters that aren't found elsewhere. There are also some functions
such as string.ljust or string.center that were not converted to methods.

Then, of course, we have the whole issue of people importing string in
half the modules in existence :-) ... lots of backwards-compat to worry


Greg Stein, http://www.lyra.org/