summaryrefslogtreecommitdiff
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-11-10 19:50:40 +0000
committerAntoine Pitrou <solipsis@pitrou.net>2009-11-10 19:50:40 +0000
commit26a4de345259275b630e67d752142a36fe834406 (patch)
treed16e111970d8971ec5235cb8f19ee9df993c3672 /Python/pystate.c
parent5647019586d8ca6e18284c49a14fd84f27579099 (diff)
downloadcpython-26a4de345259275b630e67d752142a36fe834406.tar.gz
Merge in the new GIL.
Diffstat (limited to 'Python/pystate.c')
-rw-r--r--Python/pystate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index fe5de5f4d2..78c501e4c5 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -434,6 +434,7 @@ PyThreadState_SetAsyncExc(long id, PyObject *exc) {
p->async_exc = exc;
HEAD_UNLOCK();
Py_XDECREF(old_exc);
+ _PyEval_SignalAsyncExc();
return 1;
}
}