Skip to content

Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed. #77789

Closed
@ericsnowcurrently

Description

@ericsnowcurrently
BPO 33608
Nosy @nascheme, @ncoghlan, @vstinner, @phsilva, @pmp-p, @markshannon, @ericsnowcurrently, @serhiy-storchaka, @soltysh, @1st1, @koobs, @zooba, @phmc, @emilyemorehouse, @jdahlin
PRs
  • [WIP] bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). #9334
  • bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). #11617
  • bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). #11617
  • bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). #11617
  • bpo-33608: Use _Py_AddPendingCall() in _PyCrossInterpreterData_Release(). #12024
  • bpo-33608: Simplify DISPATCH by hoisting eval_breaker ahead of time. #12062
  • Revert: bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (GH-11617) #12159
  • bpo-33608: Fix the Py_atomic_* macros. #12240
  • bpo-33608: Simplify DISPATCH by hoisting eval_breaker ahead of time. #12243
  • bpo-33608: Make sure locks in the runtime are properly re-created.  #12245
  • bpo-33608: Deal with pending calls relative to runtime shutdown. #12246
  • bpo-33608: Minor cleanup related to pending calls. #12247
  • bpo-33608: Fix PyEval_InitThreads() warning #12346
  • bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). #12360
  • bpo-33608: make arm macros match x86 macros #12665
  • bpo-33608: Revert "Factor out a private, per-interpreter _Py_AddPendingCall()." #12806
  • bpo-33608: Normalize atomic macros so that they all expect an atomic struct #12877
  • bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). #13714
  • Revert "bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (gh-13714)" #13780
  • Files
  • managers.patch
  • take_gil.assert.patch
  • fini_crash.c
  • wrap_threadstate.diff
  • 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/ericsnowcurrently'
    closed_at = <Date 2020-04-08.21:58:41.738>
    created_at = <Date 2018-05-22.19:34:41.672>
    labels = ['expert-subinterpreters', '3.9']
    title = 'Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.'
    updated_at = <Date 2020-06-03.16:43:06.602>
    user = 'https://github.com/ericsnowcurrently'

    bugs.python.org fields:

    activity = <Date 2020-06-03.16:43:06.602>
    actor = 'vstinner'
    assignee = 'eric.snow'
    closed = True
    closed_date = <Date 2020-04-08.21:58:41.738>
    closer = 'vstinner'
    components = ['Subinterpreters']
    creation = <Date 2018-05-22.19:34:41.672>
    creator = 'eric.snow'
    dependencies = []
    files = ['48333', '48334', '48731', '48732']
    hgrepos = []
    issue_num = 33608
    keywords = ['patch']
    message_count = 82.0
    messages = ['317333', '317334', '317344', '317404', '325481', '325548', '336490', '336544', '336596', '336602', '336603', '336677', '336687', '336897', '336948', '336951', '336952', '336975', '337075', '337096', '337110', '337115', '337116', '337117', '337159', '337179', '337218', '337235', '337554', '337557', '337996', '338039', '340057', '340069', '340070', '340071', '340075', '340077', '340079', '340082', '340133', '340139', '340143', '340145', '340666', '340768', '342791', '342792', '344210', '344211', '344240', '344244', '344245', '344355', '344372', '344417', '344429', '344434', '344435', '344438', '344441', '344442', '344443', '344444', '344445', '344446', '357169', '357170', '357179', '358364', '358367', '358748', '364670', '365160', '365163', '365178', '366009', '366013', '366016', '366017', '366019', '366027']
    nosy_count = 16.0
    nosy_names = ['nascheme', 'ncoghlan', 'vstinner', 'phsilva', 'pmpp', 'Mark.Shannon', 'eric.snow', 'serhiy.storchaka', 'maciej.szulik', 'yselivanov', 'koobs', 'steve.dower', 'pconnell', 'emilyemorehouse', 'Johan Dahlin', 'shprotx']
    pr_nums = ['9334', '11617', '11617', '11617', '12024', '12062', '12159', '12240', '12243', '12245', '12246', '12247', '12346', '12360', '12665', '12806', '12877', '13714', '13780']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue33608'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions