[Peter] >>> asyncexc = ctypes.pythonapi.PyThreadState_SetAsyncExc >>> exc = ctypes.py_object(ValueError) >>> asyncexc(t.id, exc) We'll *never* get ctypes into the standard library now. 8-) -- Richie Hindle richie at entrian.com