• Antoine Pitrou's avatar
    bpo-30703: Improve signal delivery (#2415) · c08177a1
    Antoine Pitrou authored
    * Improve signal delivery
    
    Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions.
    
    * Remove unused function
    
    * Improve comments
    
    * Add stress test
    
    * Adapt for --without-threads
    
    * Add second stress test
    
    * Add NEWS blurb
    
    * Address comments @haypo
    c08177a1
signalmodule.c 40.6 KB