[Python-Dev] String methods... finally

Barry A. Warsaw bwarsaw at cnri.reston.va.us
Fri Jun 11 19:43:35 CEST 1999


>>>>> "SM" == Skip Montanaro <skip at mojam.com> writes:

    SM> Oh, one other thing I forgot.  Split (join) and splitfields
    SM> (joinfields) used to be different.  They've been the same for
    SM> a long time now, long enough that I no longer recall how they
    SM> used to differ.

I think it was only in the number of arguments they'd accept (at least 
that's what's implied by the module docos).
    
    SM> In making the leap from string module to
    SM> string methods, I suggest dropping the long names altogether.

I agree.  Thinking about it, I'm also inclined to not include
startswith and endswith in the string module.

-Barry




More information about the Python-Dev mailing list