Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

idle doesn't display nested tracebacks for ExceptionGroups #111414

Copy link
Copy link
Open
@graingert

Description

@graingert
Issue body actions

Bug report

Bug description:

Idle prints:

Python 3.13.0a1+ (main, Oct 20 2023, 08:50:56) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license()" for more information.
raise ExceptionGroup("bad", [ValueError()])
Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    raise ExceptionGroup("bad", [ValueError()])
ExceptionGroup: bad (1 sub-exception)

the repl displays tracebacks correctly:

Python 3.13.0a1+ (main, Oct 20 2023, 08:50:56) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> raise ExceptionGroup("bad", [ValueError()])
  + Exception Group Traceback (most recent call last):
  |   File "<stdin>", line 1, in <module>
  |     raise ExceptionGroup("bad", [ValueError()])
  | ExceptionGroup: bad (1 sub-exception)
  +-+---------------- 1 ----------------
    | ValueError
    +------------------------------------ 

CPython versions tested on:

3.12, 3.13

Operating systems tested on:

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixestopic-IDLEtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    Status

    No status
    Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.