traceback.clear_frames(tb) Clears the local variables of all the stack frames in a traceback tb by calling the clear()
class warnings.catch_warnings(*, record=False, module=None) A context manager that copies and, upon exit, restores the warnings
sys.getprofile() Get the profiler function as set by setprofile().
contextlib.redirect_stdout(new_target) Context manager for temporarily redirecting
inspect.getmodule(object) Try to guess which module an object was defined in.
signature A reference to the parent Signature object.
sys.api_version The C API version for this interpreter. Programmers may find this useful when debugging version conflicts between
sysconfig.get_config_h_filename() Return the path of pyconfig.h.
sysconfig.get_makefile_filename() Return the path of Makefile.
traceback.walk_tb(tb) Walk a traceback following tb_next yielding the frame and line number for each frame. This
Page 25 of 26