bpo-9263: Fix _PyObject_Dump() for freed object (#10661)
If _PyObject_Dump() detects that the object is freed, don't try to dump it (exit immediately). Enhance also _PyObject_IsFreed(): it now detects if the pointer itself looks like freed memory.
V
Victor Stinner committed
2cf5d32fd9e61488e8b0be55a2e92a752ba8b06b
Parent: 9a0d7a7
Committed by GitHub <noreply@github.com>
on 11/22/2018, 3:32:57 PM