Issue #28480: Merge multithreading fixes from 3.6

This commit is contained in:
Martin Panter 2016-10-20 05:25:14 +00:00
commit 812f6e1f23
4 changed files with 8 additions and 2 deletions

View file

@ -664,6 +664,7 @@ internal_setblocking(PySocketSockObject *s, int block)
result = 0;
done:
; /* necessary for --without-threads flag */
Py_END_ALLOW_THREADS
if (result) {