Release of faulthandler 1.4

Victor Stinner victor.stinner at haypocalc.com
Mon Feb 14 12:55:50 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:
https://github.com/haypo/faulthandler/wiki/
http://pypi.python.org/pypi/faulthandler/

Victor Stinner aka haypo



More information about the Python-announce-list mailing list