Skip to content

Improve traceback of cancelled tasks / add cancel() msg argument #75216

@socketpair

Description

@socketpair
BPO 31033
Nosy @carljm, @cjerdonek, @ambv, @socketpair, @1st1, @matrixise, @thehesiod, @miss-islington
PRs
  • bpo-31033: Make traceback for cancelled asyncio tasks more useful #19951
  • bpo-31033: Add a msg argument to Future.cancel() and Task.cancel() #19979
  • bpo-31033: Use _PyErr_ChainStackItem() inside gen_send_ex(). #20173
  • [3.9] Use _PyErr_ChainStackItem() inside gen_send_ex(). (GH-20173) #20202
  • 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-05-18.05:56:13.267>
    created_at = <Date 2017-07-25.13:21:40.773>
    labels = ['type-feature', '3.9', 'expert-asyncio']
    title = 'Improve traceback of cancelled tasks / add cancel() msg argument'
    updated_at = <Date 2020-05-19.02:14:19.517>
    user = 'https://github.com/socketpair'

    bugs.python.org fields:

    activity = <Date 2020-05-19.02:14:19.517>
    actor = 'lukasz.langa'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-05-18.05:56:13.267>
    closer = 'chris.jerdonek'
    components = ['asyncio']
    creation = <Date 2017-07-25.13:21:40.773>
    creator = 'socketpair'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31033
    keywords = ['patch']
    message_count = 23.0
    messages = ['299079', '299083', '299084', '299101', '299103', '299107', '299112', '299891', '300152', '314953', '314954', '341967', '368236', '368243', '368405', '368987', '368988', '368993', '369173', '369179', '369180', '369305', '369315']
    nosy_count = 8.0
    nosy_names = ['carljm', 'chris.jerdonek', 'lukasz.langa', 'socketpair', 'yselivanov', 'matrixise', 'thehesiod', 'miss-islington']
    pr_nums = ['19951', '19979', '20173', '20202']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue31033'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions