commit | c7489a5595293153205a20d77a667a0260b6e96d | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Wed Apr 01 18:48:58 2015 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Wed Apr 01 18:48:58 2015 +0200 |
tree | 1078f230d360dfbbb9596d64ed3e86f0fa957932 | |
parent | 97f86b82b74244974212ff970010e2435dd10c0f [diff] |
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.