On this page
  1. faulthandler.is_enabled
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

faulthandler.is_enabled

Prev: faulthandler.enable | Up: faulthandler | Next: faulthandler.register
Rel: faulthandler.cancel_dump_traceback_later, faulthandler.disable, faulthandler.dump_c_stack, faulthandler.dump_traceback
Ref: docs.python.org — faulthandler.is_enabled
Tags: #public #python3 #stdlib #faulthandler


Import

import faulthandler
from faulthandler import is_enabled

Signature & Overview

faulthandler.is_enabled()

Check if the handler is enabled.

Usage

import faulthandler

assert isinstance(faulthandler.is_enabled(), bool)

Gotchas

REPL Inspect

from faulthandler import is_enabled
help(is_enabled)

Linked from

Related notes