sys.flags
  • References/Python/Python/Runtime

sys.flags The struct sequence flags exposes the status of command line flags

2025-01-10 15:47:30
contextlib.closing()
  • References/Python/Python/Runtime

contextlib.closing(thing) Return a context manager that closes thing upon completion of the block. This is basically

2025-01-10 15:47:30
sys.base_prefix
  • References/Python/Python/Runtime

sys.base_prefix Set during Python startup, before site.py is run, to the same value as prefix. If

2025-01-10 15:47:30
traceback.TracebackException.
  • References/Python/Python/Runtime

__suppress_context__ The __suppress_context__ value from the original exception.

2025-01-10 15:47:30
sys.maxsize
  • References/Python/Python/Runtime

sys.maxsize An integer giving the maximum value a variable of type Py_ssize_t can take. It’s usually 2**31

2025-01-10 15:47:30
sysconfig.get_platform()
  • References/Python/Python/Runtime

sysconfig.get_platform() Return a string that identifies the current platform. This is used

2025-01-10 15:47:30
gc.get_objects()
  • References/Python/Python/Runtime

gc.get_objects() Returns a list of all objects tracked by the collector, excluding the list returned.

2025-01-10 15:47:30
traceback.format_tb()
  • References/Python/Python/Runtime

traceback.format_tb(tb, limit=None) A shorthand for format_list(extract_tb(tb, limit)).

2025-01-10 15:47:30
traceback.StackSummary
  • References/Python/Python/Runtime

class traceback.StackSummary classmethod extract(frame_gen, *, limit=None, lookup_lines=True

2025-01-10 15:47:30
inspect.isawaitable()
  • References/Python/Python/Runtime

inspect.isawaitable(object) Return true if the object can be used in await expression. Can

2025-01-10 15:47:30