Skip to content

Expand traceback module API to accept just an exception as an argument #70577

@brettcannon

Description

@brettcannon
BPO 26389
Nosy @brettcannon, @rhettinger, @terryjreedy, @vadmium, @Carreau, @csabella, @ZackerySpytz, @pablogsal
PRs
  • bpo-26389: Allow traceback function to only get an exception instance (instead of 3 args) #327
  • bpo-26389: Allow passing an exception object in the traceback module #22610
  • 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 2020-11-05.22:19:23.268>
    created_at = <Date 2016-02-18.22:59:10.834>
    labels = ['type-feature', 'library', '3.10']
    title = 'Expand traceback module API to accept just an exception as an argument'
    updated_at = <Date 2021-02-12.22:18:58.626>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2021-02-12.22:18:58.626>
    actor = 'terry.reedy'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-11-05.22:19:23.268>
    closer = 'pablogsal'
    components = ['Library (Lib)']
    creation = <Date 2016-02-18.22:59:10.834>
    creator = 'brett.cannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 26389
    keywords = ['patch']
    message_count = 19.0
    messages = ['260485', '260554', '260559', '260571', '288615', '288618', '288621', '288645', '288660', '288671', '288673', '288857', '288870', '339681', '339885', '355021', '356574', '356575', '380438']
    nosy_count = 8.0
    nosy_names = ['brett.cannon', 'rhettinger', 'terry.reedy', 'martin.panter', 'mbussonn', 'cheryl.sabella', 'ZackerySpytz', 'pablogsal']
    pr_nums = ['327', '22610']
    priority = 'low'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue26389'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions