Skip to content

Discrepancy between traceback.print_exception and sys.__excepthook__ #78644

@TimothyMcCurrach

Description

@TimothyMcCurrach
BPO 34463
Nosy @taleinat, @ambv, @miss-islington, @iritkatriel
PRs
  • bpo-34463: Match python traceback format to the C traceback for a Syn… #23427
  • [3.9] bpo-34463: Make python tracebacks identical to C tracebacks for SyntaxErrors without a lineno (GH-23427) #23895
  • [3.8] bpo-34463: Make python tracebacks identical to C tracebacks for #23899
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-04-27.06:57:02.371>
    created_at = <Date 2018-08-22.19:01:06.594>
    labels = ['type-bug', 'library', '3.10']
    title = 'Discrepancy between traceback.print_exception and sys.__excepthook__'
    updated_at = <Date 2021-04-27.06:57:02.371>
    user = 'https://bugs.python.org/TimothyMcCurrach'

    bugs.python.org fields:

    activity = <Date 2021-04-27.06:57:02.371>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-04-27.06:57:02.371>
    closer = 'iritkatriel'
    components = ['Library (Lib)']
    creation = <Date 2018-08-22.19:01:06.594>
    creator = 'Timothy McCurrach'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34463
    keywords = ['patch']
    message_count = 6.0
    messages = ['323902', '380349', '381488', '383610', '383620', '391979']
    nosy_count = 5.0
    nosy_names = ['taleinat', 'lukasz.langa', 'miss-islington', 'Timothy McCurrach', 'iritkatriel']
    pr_nums = ['23427', '23895', '23899']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue34463'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions