]> granicus.if.org Git - python/commit
bpo-36389: Add _PyObject_CheckConsistency() function (GH-12803)
authorVictor Stinner <vstinner@redhat.com>
Fri, 12 Apr 2019 19:51:34 +0000 (21:51 +0200)
committerGitHub <noreply@github.com>
Fri, 12 Apr 2019 19:51:34 +0000 (21:51 +0200)
commit0fc91eef34a1d9194904fa093c9fbd711af0f26c
treebeec907827203135c5c5baa9303fcb27776088a3
parent23a683adf803eef405d248cc9c2a7eb08a7300e2
bpo-36389: Add _PyObject_CheckConsistency() function (GH-12803)

Add a new _PyObject_CheckConsistency() function which can be used to
help debugging. The function is available in release mode.

Add a 'check_content' parameter to _PyDict_CheckConsistency().
Include/cpython/object.h
Include/internal/pycore_object.h
Objects/dictobject.c
Objects/object.c
Objects/typeobject.c
Objects/unicodeobject.c