Neither my python-fu nor my scons-fu is great enough for me to figure out how to work around this problem. Can any python masters on this list see a way to work around the bug?
But it would be much, much better if the python regular expression engine were fixed. Are any of the python maintainers seriously looking at the upstream patch? If not, could you please?