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.
V
Victor Stinner committed
d91d4de31745fc1ed4c7e6c208917827c9c472b6
Parent: 3cbc23a
Committed by GitHub <noreply@github.com>
on 9/9/2019, 3:44:59 PM