This is the python equivalent of doing 'limit stack 2048' in tcsh before running test_re: from resource import * soft, hard = getrlimit( RLIMIT_STACK ) setrlimit( RLIMIT_STACK, (1024 * 2048, hard)) from test import test_re It would be nice to fix this in the test suite, but I'm not quite sure where to stick it. ( As a conditional in test_re ? ) -- Steve Majewski