Skip to content

visit_decref(): add an assertion to check that the object is not freed #82251

@vstinner

Description

@vstinner
BPO 38070
Nosy @vstinner, @pablogsal, @miss-islington
PRs
  • bpo-38070: visit_decref() calls _PyObject_IsFreed() #15782
  • [3.8] bpo-38070: visit_decref() calls _PyObject_IsFreed() (GH-15782) #15793
  • bpo-38070: Enhance _PyObject_Dump() #16243
  • bpo-38070: _Py_DumpTraceback() writes <no Python frame> #16244
  • bpo-38070: Add _PyRuntimeState.preinitializing #16245
  • bpo-38070: Py_FatalError() logs runtime state #16246
  • [3.8] bpo-38070: Py_FatalError() logs runtime state #16258
  • bpo-38070: Enhance visit_decref() debug trace #16631
  • [3.7] bpo-38070: visit_decref() calls _PyObject_IsFreed() in debug mode #16816
  • Files
  • bpo-38037-bug.patch
  • 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-18.12:10:58.170>
    created_at = <Date 2019-09-09.14:05:36.804>
    labels = ['interpreter-core', 'type-feature', '3.8', '3.9']
    title = 'visit_decref(): add an assertion to check that the object is not freed'
    updated_at = <Date 2019-10-16.01:37:51.802>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2019-10-16.01:37:51.802>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-09-18.12:10:58.170>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2019-09-09.14:05:36.804>
    creator = 'vstinner'
    dependencies = []
    files = ['48602']
    hgrepos = []
    issue_num = 38070
    keywords = ['patch']
    message_count = 15.0
    messages = ['351470', '351473', '351504', '351537', '351645', '351686', '352665', '352666', '352667', '352675', '352676', '352720', '352721', '354156', '354681']
    nosy_count = 3.0
    nosy_names = ['vstinner', 'pablogsal', 'miss-islington']
    pr_nums = ['15782', '15793', '16243', '16244', '16245', '16246', '16258', '16631', '16816']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue38070'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of life3.9 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions