sys.__excepthook__ These objects contain the original values of displayhook and excepthook at the
inspect.getgeneratorstate(generator) Get current state of a generator-iterator. Possible
sys.displayhook(value) If value is not None, this function prints repr(value) to sys
@abc.abstractmethod A decorator indicating abstract methods. Using this decorator requires that
sys.api_version The C API version for this interpreter. Programmers may find this useful when debugging version conflicts between
gc.get_count() Return the current collection counts as a tuple of (count0, count1, count2).
inspect.isgetsetdescriptor(object) Return true if the object is a getset descriptor.
sys.tracebacklimit When this variable is set to an integer value, it determines the maximum number of levels of traceback information
traceback.walk_stack(f) Walk a stack following f.f_back from the given frame, yielding the frame and line number
fpectl.turnon_sigfpe() Turn on the generation of SIGFPE, and set up an appropriate signal handler.
Page 22 of 26