Skip to content

Coroutine is awaited despite an exception in run_until_complete() #83372

Description

@dkaveshnikov
BPO 39191
Nosy @asvetlov, @1st1, @miss-islington, @tirkarthi
PRs
  • bpo-39191: Don't spawn a task before failing with already running loop #17796
  • [3.8] bpo-39191: Don't spawn a task before failing (GH-17796). #17820
  • [3.7] bpo-39191: Don't spawn a task before failing (GH-17796). #17821
  • bpo-39191: Fix RuntimeWarning in asyncio test #17863
  • [3.8] bpo-39191: Fix RuntimeWarning in asyncio test (GH-17863) #17894
  • [3.7] bpo-39191: Fix RuntimeWarning in asyncio test (GH-17863) #17895
  • Files
  • test_event_loop.py: Snippet
  • 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 = 'https://github.com/asvetlov'
    closed_at = <Date 2020-01-07.14:55:35.158>
    created_at = <Date 2020-01-02.13:34:18.219>
    labels = ['3.8', 'type-bug', '3.7', '3.9', 'expert-asyncio']
    title = 'Coroutine is awaited despite an exception in run_until_complete()'
    updated_at = <Date 2020-01-07.14:55:35.157>
    user = 'https://bugs.python.org/dkaveshnikov'

    bugs.python.org fields:

    activity = <Date 2020-01-07.14:55:35.157>
    actor = 'asvetlov'
    assignee = 'asvetlov'
    closed = True
    closed_date = <Date 2020-01-07.14:55:35.158>
    closer = 'asvetlov'
    components = ['asyncio']
    creation = <Date 2020-01-02.13:34:18.219>
    creator = 'dkaveshnikov'
    dependencies = []
    files = ['48819']
    hgrepos = []
    issue_num = 39191
    keywords = ['patch']
    message_count = 9.0
    messages = ['359196', '359201', '359281', '359282', '359415', '359417', '359418', '359509', '359513']
    nosy_count = 5.0
    nosy_names = ['asvetlov', 'yselivanov', 'miss-islington', 'xtreak', 'dkaveshnikov']
    pr_nums = ['17796', '17820', '17821', '17863', '17894', '17895']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue39191'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions