Release of faulthandler 1.4

Victor Stinner victor.stinner at
Tue Feb 15 00:03:28 CET 2011

faulthandler is a module to display the Python backtrace on a fatal
error (eg. segfault), after a delay (eg. 60 minutes) or when a user
signal is send (eg. SIGUSR1).

Changes of the version 1.4:

 * Add register() and unregister() functions
 * Add optional all_threads argument to enable()
 * Limit the backtrace to 100 threads
 * Allocate an alternative stack for the fatal signal handler to be
   able to display a backtrace on a stack overflow 
   (define HAVE_SIGALTSTACK). Not available on Windows.
 * Windows installer for Python 3.2(RC3)

You can choose the output file (sys.stderr by default) and to dump the
backtrace of the current thread (default) or of all threads.

faulthandler works on Python 2.5, 2.6, 2.7, 3.1 and 3.2. It is tested on
Linux, FreeBSD on Windows, it should work on any operating system.

For more information, see:

Victor Stinner aka haypo

More information about the Python-announce-list mailing list