Issue #23836: Fix the faulthandler module to handle reentrant calls
to its signal handlers. Use also _Py_write_noraise() instead of write() to retry write() if it is interrupted by a signal (fail with EINTR). faulthandler.dump_traceback() also calls PyErr_CheckSignals() to call the Python signal handler if a signal was received.
V
Victor Stinner committed
c7489a5595293153205a20d77a667a0260b6e96d
Parent: 97f86b8