sys._debugmallocstats() Print low-level information to stderr about the state of CPython’s memory allocator.
traceback.format_stack(f=None, limit=None) A shorthand for format_list(extract_stack(f, limit)).
sys.getprofile() Get the profiler function as set by setprofile().
sys.abiflags On POSIX systems where Python was built with the standard configure script, this contains the ABI
sys.__interactivehook__ When this attribute exists, its value is automatically called (with no arguments) when the interpreter
sys.hash_info A struct sequence giving parameters of the numeric hash implementation
pop_all() Transfers the callback stack to a fresh ExitStack instance and returns it. No callbacks are invoked by
inspect.getouterframes(frame, context=1) Get a list of frame records for a frame and all outer frames. These frames represent
sysconfig.is_python_build() Return True if the current Python installation was built from source.
inspect.getargvalues(frame) Get information about arguments passed into a particular frame. A named
Page 20 of 26