# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT """ faulthandler module. """ __doc__ = 'faulthandler module.' class __loader__(object): """ Meta path import for built-in modules. All methods are either class or static methods to avoid the need to instantiate the class. """ def find_module(self, cls, fullname, path): """ Find the built-in module. If 'path' is ever specified then the search is considered a failure. """ pass def get_code(self, fullname): """ Return None as built-in modules do not have code objects. """ pass def get_source(self, fullname): """ Return None as built-in modules do not have source code. """ pass def is_package(self, fullname): """ Return False as built-in modules are never packages. """ pass def load_module(self): """ Load a built-in module. """ pass def module_repr(self, cls, module): pass __name__ = 'faulthandler' __package__ = '' def _fatal_error(message): """ _fatal_error(message): call Py_FatalError(message) """ pass def _read_null(): """ _read_null(release_gil=False): read from NULL, raise a SIGSEGV or SIGBUS signal depending on the platform """ pass def _sigabrt(): """ _sigabrt(): raise a SIGABRT signal """ pass def _sigbus(): """ _sigbus(): raise a SIGBUS signal """ pass def _sigfpe(): """ _sigfpe(): raise a SIGFPE signal """ pass def _sigill(): """ _sigill(): raise a SIGILL signal """ pass def _sigsegv(): """ _sigsegv(): raise a SIGSEGV signal """ pass def _stack_overflow(): """ _stack_overflow(): recursive call to raise a stack overflow """ pass def cancel_dump_traceback_later(): """ cancel_dump_traceback_later(): cancel the previous call to dump_traceback_later(). """ pass def disable(): """ disable(): disable the fault handler """ pass def dump_traceback(): """ dump_traceback(file=sys.stderr, all_threads=True): dump the traceback of the current thread, or of all threads if all_threads is True, into file """ pass def dump_traceback_later(arg0): """ dump_traceback_later(timeout, repeat=False, file=sys.stderrn, exit=False): dump the traceback of all threads in timeout seconds, or each timeout seconds if repeat is True. If exit is True, call _exit(1) which is not safe. """ pass def enable(): """ enable(file=sys.stderr, all_threads=True): enable the fault handler """ pass def is_enabled(): """ is_enabled()->bool: check if the handler is enabled """ return None def register(): """ register(signum, file=sys.stderr, all_threads=True, chain=False): register an handler for the signal 'signum': dump the traceback of the current thread, or of all threads if all_threads is True, into file """ pass def unregister(signum): """ unregister(signum): unregister the handler of the signal 'signum' registered by register() """ pass