Staging: this is not the live site, pydocs.org.
Enable the fault handler.
Changed in 3.5, 3.6, 3.10, 3.14, 3.15
- 3.5: Added support for passing file descriptor to this function.
- 3.6: On Windows, a handler for Windows exception is also installed.
- 3.10: The dump now mentions if a garbage collector collection is running if all_threads is true.
- 3.14: Only the current thread is dumped if the GIL is disabled to prevent the risk of data races.
- 3.14: The dump now displays the C stack trace if c_stack is true.
- 3.15: Added the max_threads keyword argument.