The Python programming language
handler when the function is called twice, so faulthandler.unregister() restores correctly the original signal handler.