Hi, I've noticed that Python threads are prone to blocking if they call re.compile(). Is this a bug or a feature? For a workaround, I globalised all the re.compile() instances I needed, and just referenced them from within the thread. No more lockups now :) However, I'm not a big fan of global variables. Is there a better workaround? Cheers A