threads and exception in wxPython

Richie Hindle richie at entrian.com
Wed Nov 3 16:51:27 CET 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