(Merge 3.1) Issue #11768: The signal handler of the signal module only calls
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 18 Apr 2011 14:28:39 +0000 (16:28 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 18 Apr 2011 14:28:39 +0000 (16:28 +0200)
Py_AddPendingCall() for the first signal to fix a deadlock on reentrant or
parallel calls. PyErr_SetInterrupt() writes also into the wake up file.

1  2 
Misc/NEWS
Modules/signalmodule.c

diff --cc Misc/NEWS
index dda300f0821a84e0861269104ae6fd098150ae9e,022ad202e40207d6c2f57766166bd83f2dd9487a..a34f009c5c4fb3bd6d0d8bbcdf3bb39e400b6b50
+++ b/Misc/NEWS
@@@ -60,10 -55,10 +60,14 @@@ Core and Builtin
  Library
  -------
  
+ - Issue #11768: The signal handler of the signal module only calls
+   Py_AddPendingCall() for the first signal to fix a deadlock on reentrant or
+   parallel calls. PyErr_SetInterrupt() writes also into the wake up file.
 +- Issue #11492: fix several issues with header folding in the email package.
 +
 +- Issue #11852: Add missing imports and update tests.
 +
  - Issue #11467: Fix urlparse behavior when handling urls which contains scheme
    specific part only digits. Patch by Santoso Wijaya.
  
Simple merge