sys._current_frames() Return a dictionary mapping each thread’s identifier to the topmost stack frame currently active in that
site.getsitepackages() Return a list containing all global site-packages directories.
sys._clear_type_cache() Clear the internal type cache. The type cache is used to speed up attribute and method lookups. Use
sys.exc_info() This function returns a tuple of three values that give information about the exception that is currently being
sys.call_tracing(func, args) Call func(*args), while tracing is enabled. The tracing state is saved, and restored
inspect.isroutine(object) Return true if the object is a user-defined or built-in function or method.
inspect.isgeneratorfunction(object) Return true if the object is a Python generator function.
sys.float_repr_style A string indicating how the
inspect.ismethoddescriptor(object) Return true if the object is a method descriptor, but not if ismethod(),
sys.float_info A struct sequence holding information about the float type. It contains
Page 11 of 26