commit | 2cf5d32fd9e61488e8b0be55a2e92a752ba8b06b | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Thu Nov 22 16:32:57 2018 +0100 |
committer | GitHub <noreply@github.com> | Thu Nov 22 16:32:57 2018 +0100 |
tree | 78802c10dc7d34e08de079d89a2b5f42464f1f9b | |
parent | 9a0d7a7648547ffb77144bf2480155f6d7940dea [diff] |
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.