sys.flags The struct sequence flags exposes the status of command line flags
contextlib.closing(thing) Return a context manager that closes thing upon completion of the block. This is basically
sys.base_prefix Set during Python startup, before site.py is run, to the same value as prefix. If
__suppress_context__ The __suppress_context__ value from the original exception.
sys.maxsize An integer giving the maximum value a variable of type Py_ssize_t can take. It’s usually 2**31
sysconfig.get_platform() Return a string that identifies the current platform. This is used
gc.get_objects() Returns a list of all objects tracked by the collector, excluding the list returned.
traceback.format_tb(tb, limit=None) A shorthand for format_list(extract_tb(tb, limit)).
class traceback.StackSummary classmethod extract(frame_gen, *, limit=None, lookup_lines=True
inspect.isawaitable(object) Return true if the object can be used in await expression. Can
Page 6 of 26