Commit fa27d5f2 authored by Martin Panter's avatar Martin Panter

Issue #28480: Avoid label at end of compound statement --without-threads

Based on patch by Masayuki Yamamoto.
parent c6b1e157
......@@ -20,6 +20,9 @@ Core and Builtins
Library
-------
- Issue #28480: Fix error building socket module when multithreading is
disabled.
- Issue #24452: Make webbrowser support Chrome on Mac OS X.
- Issue #20766: Fix references leaked by pdb in the handling of SIGINT
......
......@@ -664,6 +664,7 @@ internal_setblocking(PySocketSockObject *s, int block)
result = 0;
done:
; /* necessary for --without-threads flag */
Py_END_ALLOW_THREADS
if (result) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment