11 Oct
2012
11 Oct
'12
12:01 a.m.
On Oct 10, 2012, at 11:24 AM, Enrico Granata egranata@apple.com wrote:
Am I doing something wrong? Is there even a way to raise an exception "inside" a PyObject_CallObject without the callee doing anything? It would be much preferable that the called python object did not have to do anything in order to be interruptible,
Maybe this is what you're looking for:
http://docs.python.org/c-api/init.html?highlight=async#PyThreadState_SetAsyn...
Tho, I'm not sure if it's a good idea for your particular caseā¦