Skip to content

asyncio.as_completed() raises TypeError when the first supplied parameter is a generator that yields awaitables #88342

Closed as not planned
@alexdelorenzo

Description

@alexdelorenzo
BPO 44176
Nosy @asvetlov, @1st1, @alexdelorenzo
PRs
  • bpo-44176: Allow asyncio.as_completed()'s first parameter to be a generator yielding awaitables #26228
  • Files
  • as_completed_gen.py
  • 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 = None
    created_at = <Date 2021-05-19.05:04:33.179>
    labels = ['type-bug', '3.8', '3.9', '3.10', '3.7', 'library', 'expert-asyncio']
    title = 'asyncio.as_completed() raises TypeError when the first supplied parameter is a generator that yields awaitables'
    updated_at = <Date 2021-05-19.05:53:09.349>
    user = 'https://github.com/alexdelorenzo'

    bugs.python.org fields:

    activity = <Date 2021-05-19.05:53:09.349>
    actor = 'alexdelorenzo'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'asyncio']
    creation = <Date 2021-05-19.05:04:33.179>
    creator = 'alexdelorenzo'
    dependencies = []
    files = ['50052']
    hgrepos = []
    issue_num = 44176
    keywords = []
    message_count = 1.0
    messages = ['393923']
    nosy_count = 3.0
    nosy_names = ['asvetlov', 'yselivanov', 'alexdelorenzo']
    pr_nums = ['26228']
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue44176'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibPython modules in the Lib dirtopic-asynciotype-bugAn unexpected behavior, bug, or error

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions