threads and exception in wxPython

Richie Hindle richie at entrian.com
Wed Nov 3 10:51:27 EST 2004


[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




More information about the Python-list mailing list