[Python-Dev] Curious comment in some old libraries

Barry A. Warsaw barry@digicool.com
Fri, 9 Feb 2001 15:15:47 -0500


>>>>> "ESR" == Eric S Raymond <esr@thyrsus.com> writes:

    ESR> It certainly looks to me as though the "NB" comment is out of
    ESR> date.  Is there some subtle and wicked reason it has not been
    ESR> removed?

Look at stropmodule.c.  split and splitfields have been identical at
least since 08-Aug-1996. :)

-------------------- snip snip --------------------
revision 2.23
date: 1996/08/08 19:16:15;  author: guido;  state: Exp;  lines: +93 -17
Added lstrip() and rstrip().
Extended split() (and hence splitfields(), which is the same function)
to support an optional third parameter giving the maximum number of
delimiters to parse.
-------------------- snip snip --------------------

-Barry