Skip to content

asyncio.run() error related to finalizing async generators #81636

Description

@samfrances
BPO 37455
Nosy @asvetlov, @1st1, @tirkarthi, @samfrances
Superseder
  • bpo-38013: AsyncGenerator breaks when not iterated fully with RuntimeError("can't send non-None value to a just-started coroutine")
  • 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 2019-09-12.21:35:01.509>
    created_at = <Date 2019-06-30.23:53:08.254>
    labels = ['3.8', 'type-bug', '3.7', 'expert-asyncio']
    title = 'asyncio.run() error related to finalizing async generators'
    updated_at = <Date 2019-09-12.21:35:01.509>
    user = 'https://github.com/samfrances'

    bugs.python.org fields:

    activity = <Date 2019-09-12.21:35:01.509>
    actor = 'xtreak'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-09-12.21:35:01.509>
    closer = 'xtreak'
    components = ['asyncio']
    creation = <Date 2019-06-30.23:53:08.254>
    creator = 'samfrances'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37455
    keywords = []
    message_count = 5.0
    messages = ['346943', '346944', '346946', '352215', '352222']
    nosy_count = 4.0
    nosy_names = ['asvetlov', 'yselivanov', 'xtreak', 'samfrances']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '38013'
    type = 'behavior'
    url = 'https://bugs.python.org/issue37455'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions