      max_frames (int): Maximum number of frames to show in a traceback, 0 for no maximum. Defaults to 100.
    r