# 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. """ _ORIGIN = 'built-in' def create_module(self, spec): """ Create a built-in module """ pass def exec_module(self, module): """ Exec a built-in module """ pass def find_spec(self, fullname, path=None, target=None): 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, fullname): """ Load the specified module into sys.modules and return it. This method is deprecated. Use loader.exec_module() instead. """ pass __name__ = 'faulthandler' __package__ = '' __spec__ = None def _fatal_error_c_thread(): """ Call Py_FatalError() in a new C thread. """ pass def _read_null(): """ Read from NULL, raise a SIGSEGV or SIGBUS signal depending on the platform. """ pass def _sigabrt(): """ Raise a SIGABRT signal. """ pass def _sigfpe(): """ Raise a SIGFPE signal. """ pass def _sigsegv(release_gil=False): """ Raise a SIGSEGV signal. """ pass def _stack_overflow(): """ Recursive call to raise a stack overflow. """ pass def cancel_dump_traceback_later(): """ Cancel the previous call to dump_traceback_later(). """ pass def disable(): """ Disable the fault handler. """ pass def dump_traceback(): """ 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 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 the fault handler. """ pass def is_enabled(): """ Check if the handler is enabled. """ pass def register(): """ Register a 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 the handler of the signal 'signum' registered by register(). """ pass