commit | 5731172bb1e958b1d80b18eaf88d3f2f93cfccdd | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Mon Sep 09 10:18:09 2019 -0700 |
committer | GitHub <noreply@github.com> | Mon Sep 09 10:18:09 2019 -0700 |
tree | 3998d4a401925467e51d8395871a55ae07f5ac66 | |
parent | 2d5594fac21a81a06f82c3605318dfa96e72398f [diff] |
bpo-38070: visit_decref() calls _PyObject_IsFreed() (GH-15782) In debug mode, visit_decref() now calls _PyObject_IsFreed() to ensure that the object is not freed. If it's freed, the program fails with an assertion error and Python dumps informations about the freed object. (cherry picked from commit d91d4de31745fc1ed4c7e6c208917827c9c472b6) Co-authored-by: Victor Stinner <vstinner@redhat.com>