Skip to content

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

@alexdelorenzo

Description

@alexdelorenzo
BPO44176
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=Noneclosed_at=Nonecreated_at=<Date2021-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=<Date2021-05-19.05:53:09.349>user='https://github.com/alexdelorenzo'

    bugs.python.org fields:

    activity=<Date2021-05-19.05:53:09.349>actor='alexdelorenzo'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)', 'asyncio'] creation=<Date2021-05-19.05:04:33.179>creator='alexdelorenzo'dependencies= [] files= ['50052'] hgrepos= [] issue_num=44176keywords= [] message_count=1.0messages= ['393923'] nosy_count=3.0nosy_names= ['asvetlov', 'yselivanov', 'alexdelorenzo'] pr_nums= ['26228'] priority='normal'resolution=Nonestage=Nonestatus='open'superseder=Nonetype='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

      stdlibStandard Library Python modules in the Lib/ directorytopic-asynciotype-bugAn unexpected behavior, bug, or error

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions