[Python-Dev] Merge the string_methods tag?

Barry A. Warsaw bwarsaw at cnri.reston.va.us
Mon Jun 28 23:20:05 CEST 1999

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

    SM> Sorry for the delayed response.  I've been out of town.  When
    SM> Barry returns would it be possible to merge the string methods
    SM> in conditionally (#ifdef STRING_METHODS) and add a
    SM> --with-string-methods configure option?  How hard would it be
    SM> to modify string.py, stringobject.c and stropmodule.c to carry
    SM> that around?

How clean do you want this separation to be?  Just disabling the
actual string methods would be easy, and I'm sure I can craft a
string.py that would work in either case (remember stropmodule.c
wasn't even touched).  There are a few other miscellaneous changes
mostly having to do with some code cleaning, but those are probably
small (and uncontroversial?) enough that they can either stay in, or
be easily understood and accepted (optimistic aren't I? :) by Guido
during the merge.

I'll see what I can put together in the next 1/2 hour or so.


More information about the Python-Dev mailing list