"SM" == Skip Montanaro email@example.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.