Skip to content

Clear state of threads earlier in Python shutdown #63665

@vstinner

Description

@vstinner
BPO 19466
Nosy @pitrou, @vstinner, @serhiy-storchaka, @vajrasky
PRs
  • bpo-19466: Py_Finalize() clears daemon threads earlier #18848
  • bpo-39877: take_gil() now exits the thread if finalizing #18854
  • Files
  • finalize_threads.patch
  • finalize_threads-2.patch
  • finalize_threads-3.patch
  • fix_typo_19466.patch
  • asyncio_gc.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 = <Date 2020-03-09.22:44:45.664>
    created_at = <Date 2013-10-31.23:39:46.372>
    labels = ['interpreter-core', '3.9']
    title = 'Clear state of threads earlier in Python shutdown'
    updated_at = <Date 2020-03-09.22:44:45.658>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2020-03-09.22:44:45.658>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-03-09.22:44:45.664>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2013-10-31.23:39:46.372>
    creator = 'vstinner'
    dependencies = []
    files = ['32443', '32500', '32581', '32586', '48961']
    hgrepos = []
    issue_num = 19466
    keywords = ['patch']
    message_count = 26.0
    messages = ['201860', '202155', '202156', '202164', '202165', '202166', '202169', '202667', '202699', '202704', '202705', '202912', '206009', '206028', '206032', '210993', '210998', '211011', '211072', '211149', '211154', '213823', '363651', '363654', '363779', '363781']
    nosy_count = 7.0
    nosy_names = ['pitrou', 'vstinner', 'Arfrever', 'neologix', 'python-dev', 'serhiy.storchaka', 'vajrasky']
    pr_nums = ['18848', '18854']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue19466'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions