traceback.extract_stack()
  • References/Python/Python/Runtime

traceback.extract_stack(f=None, limit=None) Extract the raw traceback from the current stack frame. The return value has the

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
sys.setprofile()
  • References/Python/Python/Runtime

sys.setprofile(profilefunc) Set the system’s profile function, which allows you to implement a Python source code profiler in

2025-01-10 15:47:30
inspect.Parameter.kind
  • References/Python/Python/Runtime

kind Describes how argument values are bound to the parameter. Possible values (accessible via Parameter, like

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

inspect.iscode(object) Return true if the object is a code.

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

sys.executable A string giving the absolute path of the executable binary for the Python interpreter, on systems where this

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.TracebackException.
  • References/Python/Python/Runtime

__suppress_context__ The __suppress_context__ value from the original exception.

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

traceback.format_exc(limit=None, chain=True) This is like print_exc(limit) but returns a string instead of printing

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

sys.setrecursionlimit(limit) Set the maximum depth of the Python interpreter stack to limit. This limit prevents infinite

2025-01-10 15:47:30