Skip to content

_asyncgen_finalizer_hook running in wrong thread #78950

Closed
@twisteroidambassador

Description

@twisteroidambassador
BPO 34769
Nosy @asvetlov, @1st1, @twisteroidambassador, @miss-islington
PRs
  • bpo-34769: Thread safety for _asyncgen_finalizer_hook(). #9716
  • [3.7] bpo-34769: Thread safety for _asyncgen_finalizer_hook(). (GH-9716) #9772
  • [3.6] bpo-34769: Thread safety for _asyncgen_finalizer_hook(). (GH-9716) #9773
  • [3.6] bpo-34769: Thread safety for _asyncgen_finalizer_hook(). (GH-9716) #9792
  • bpo-34679: Restore instantiation Windows IOCP event loop from non-main thread #15492
  • bpo-34679: Restore instantiation Windows IOCP event loop from non-main thread #15492
  • bpo-34679: Restore instantiation Windows IOCP event loop from non-main thread #15492
  • Files
  • asyncgen_test.py: Script to reproduce problem
  • 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 2018-10-10.17:27:07.906>
    created_at = <Date 2018-09-22.14:39:44.728>
    labels = ['3.8', 'type-bug', '3.7', 'expert-asyncio']
    title = '_asyncgen_finalizer_hook running in wrong thread'
    updated_at = <Date 2019-08-25.22:36:03.760>
    user = 'https://github.com/twisteroidambassador'

    bugs.python.org fields:

    activity = <Date 2019-08-25.22:36:03.760>
    actor = 'asvetlov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-10-10.17:27:07.906>
    closer = 'yselivanov'
    components = ['asyncio']
    creation = <Date 2018-09-22.14:39:44.728>
    creator = 'twisteroid ambassador'
    dependencies = []
    files = ['47838']
    hgrepos = []
    issue_num = 34769
    keywords = ['patch']
    message_count = 10.0
    messages = ['326090', '326806', '326807', '326809', '327140', '327251', '327419', '327422', '327483', '327485']
    nosy_count = 4.0
    nosy_names = ['asvetlov', 'yselivanov', 'twisteroid ambassador', 'miss-islington']
    pr_nums = ['9716', '9772', '9773', '9792', '15492', '15492', '15492']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue34769'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions