Issue #27591: Merge from 3.5

This commit is contained in:
Berker Peksag 2016-07-23 07:13:41 +03:00
commit bd8b443742
1 changed files with 3 additions and 0 deletions

View File

@ -114,6 +114,9 @@ semlock_acquire(SemLockObject *self, PyObject *args, PyObject *kwds)
assert(sigint_event != NULL); assert(sigint_event != NULL);
handles[nhandles++] = sigint_event; handles[nhandles++] = sigint_event;
} }
else {
sigint_event = NULL;
}
/* do the wait */ /* do the wait */
Py_BEGIN_ALLOW_THREADS Py_BEGIN_ALLOW_THREADS