string methods (was Re: [Python-Dev] A house upon the sand)

Fred L. Drake, Jr.
Mon, 27 Nov 2000 01:00:01 -0500 (EST)

Charles G Waldman writes:
 > On the other hand it is not clear to me why "capwords" and "zfill" did
 > not become methods of string objects. 

Fredrik Lundh writes:
 > fwiw, they were both present in my original unicode
 > implementation:

  Interesting.  I'd have expected capwords() on strings.  I wonder why
/F's implementation wasn't retained?  As for zfill(), I can imagine no
one thought it was sufficiently useful to keep around.


Fred L. Drake, Jr.  <fdrake at>
PythonLabs at Digital Creations