Skip to content

Deprecate sys.set_coroutine_wrapper and replace it with more focused API(s) #76772

@njsmith

Description

@njsmith
BPO 32591
Nosy @gvanrossum, @Yhg1s, @vstinner, @giampaolo, @njsmith, @asvetlov, @1st1
PRs
  • bpo-32591: Add native coroutine origin tracking #5250
  • bpo-32591: Fix PyExc_WarnFormat call (follow-up commit_ #5263
  • bpo-32591: fix abort in _PyErr_WarnUnawaitedCoroutine during shutdown #5337
  • bpo-32591: silence deprecation warnings in test_coroutine #5412
  • [3.6] bpo-26153: fix abort in _PyErr_WarnUnawaitedCoroutine during shutdown (GH-5337) #6536
  • bpo-32591: _PyErr_WarnUnawaitedCoroutine() sets source #19247
  • 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 2018-05-28.16:48:02.601>
    created_at = <Date 2018-01-18.07:09:04.944>
    labels = ['interpreter-core', 'type-feature', '3.7', 'expert-asyncio']
    title = 'Deprecate sys.set_coroutine_wrapper and replace it with more focused API(s)'
    updated_at = <Date 2020-03-31.15:25:21.173>
    user = 'https://github.com/njsmith'

    bugs.python.org fields:

    activity = <Date 2020-03-31.15:25:21.173>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-05-28.16:48:02.601>
    closer = 'yselivanov'
    components = ['Interpreter Core', 'asyncio']
    creation = <Date 2018-01-18.07:09:04.944>
    creator = 'njs'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32591
    keywords = ['patch']
    message_count = 21.0
    messages = ['310226', '310250', '310268', '310299', '310355', '310364', '310375', '310391', '310726', '310736', '310739', '310781', '310782', '310783', '310784', '311067', '311069', '311070', '311077', '318281', '365391']
    nosy_count = 7.0
    nosy_names = ['gvanrossum', 'twouters', 'vstinner', 'giampaolo.rodola', 'njs', 'asvetlov', 'yselivanov']
    pr_nums = ['5250', '5263', '5337', '5412', '6536', '19247']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue32591'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions