Hi, Here's another update to my patch: it checks whether Python has threads using the same technique as in gdb/Python/python-internal.h, that is by testing if WITH_THREAD is defined in Python.h. Is this better? Yit August 30, 2012