Skip to content

Add ability to specify instance of contextvars context to Task() & asyncio.create_task() #84500

@JeffLaughlin

Description

@JeffLaughlin
BPO 40320
Nosy @asvetlov, @1st1, @msg555
PRs
  • bpo-40320: Added support for manipulating context in asyncio tasks #26664
  • Superseder
  • bpo-46994: Accept explicit contextvars.Context in asyncio create_task() API
  • 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 2022-03-23.20:58:50.507>
    created_at = <Date 2020-04-18.15:28:07.699>
    labels = ['3.8', 'type-feature', '3.7', '3.9', 'expert-asyncio']
    title = 'Add ability to specify instance of contextvars context to Task() & asyncio.create_task()'
    updated_at = <Date 2022-03-23.20:58:50.506>
    user = 'https://bugs.python.org/JeffLaughlin'

    bugs.python.org fields:

    activity = <Date 2022-03-23.20:58:50.506>
    actor = 'asvetlov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-03-23.20:58:50.507>
    closer = 'asvetlov'
    components = ['asyncio']
    creation = <Date 2020-04-18.15:28:07.699>
    creator = 'Jeff.Laughlin'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40320
    keywords = ['patch']
    message_count = 2.0
    messages = ['366722', '415910']
    nosy_count = 4.0
    nosy_names = ['asvetlov', 'Jeff.Laughlin', 'yselivanov', 'msg555']
    pr_nums = ['26664']
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '46994'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue40320'
    versions = ['Python 3.7', 'Python 3.8', '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