sys._debugmallocstats() Print low-level information to stderr about the state of CPython’s memory allocator.
warnings.formatwarning(message, category, filename, lineno, line=None) Format a warning the standard way. This returns a string
sys.dont_write_bytecode If this is true, Python won’t try to write .pyc files on the import of source modules.
sysconfig.get_config_var(name) Return the value of a single variable name. Equivalent to get_config_vars().get(name)
inspect.istraceback(object) Return true if the object is a traceback.
inspect.isgenerator(object) Return true if the object is a generator.
inspect.trace(context=1) Return a list of frame records for the stack between the current frame and the frame in which an exception
gc.isenabled() Returns true if automatic collection is enabled.
inspect.getcoroutinestate(coroutine) Get current state of a coroutine object. The function is intended to be used with coroutine
inspect.getmoduleinfo(path) Returns a named tuple ModuleInfo(name, suffix, mode
Page 15 of 26