Browse Source

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

Based on patch by Masayuki Yamamoto.
pull/9921/head
Martin Panter 10 years ago
parent
commit
fa27d5f229
  1. 3
      Misc/NEWS
  2. 1
      Modules/socketmodule.c

3
Misc/NEWS

@ -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

1
Modules/socketmodule.c

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

Loading…
Cancel
Save