GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — add option to traceback.format_exception_only to recurse into exception groups · Issue #105292 · python/cpython

add option to traceback.format_exception_only to recurse into exception groups #105292

New issue
Copy link
New issue
Copy link
Closed
#105294
Closed
add option to traceback.format_exception_only to recurse into exception groups#105292
#105294
Copy link
Labels
type-featureA feature request or enhancementA feature request or enhancement

Description

@iritkatriel
iritkatriel
opened on Jun 4, 2023
Issue body actions

traceback.format_exception_only skips the backtrace and prints only the exception message. For exception groups it would be good to have an option to print the nested exceptions, recursively (just their types and message, no backtrace).

This is motivated by #104150.

Linked PRs

  • gh-105292: Add option to make traceback.TracebackException.format_exception_only recurse into exception groups #105294
Reacted by Anton Agestam

Activity

  1. iritkatriel
    added
    type-featureA feature request or enhancementA feature request or enhancement
    on Jun 4, 2023
  2. iritkatriel
    added a commit that references this issue on Jun 4, 2023

    pythongh-105292: Add option to make traceback.TracebackException.form…

    f53538f
  3. ambv
    closed this as completedin #105294on Jun 6, 2023
  4. ambv
    added a commit that references this issue on Jun 6, 2023

    gh-105292: Add option to make traceback.TracebackException.format_exc…

    f4d8e10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancementA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.