]> granicus.if.org Git - python/commit
bpo-9263: Use _PyObject_ASSERT() in typeobject.c (GH-10111)
authorVictor Stinner <vstinner@redhat.com>
Fri, 26 Oct 2018 16:39:11 +0000 (18:39 +0200)
committerGitHub <noreply@github.com>
Fri, 26 Oct 2018 16:39:11 +0000 (18:39 +0200)
commit0862505a0377c12e8004b2eb8de0555f26ce9530
tree6067f9e004771253c81627d83cd4def753cc39a8
parenta4b2bc70f69d93d8252861b455052c051b7167ae
bpo-9263: Use _PyObject_ASSERT() in typeobject.c (GH-10111)

Replace assert() with _PyObject_ASSERT() in Objects/typeobject.c
to dump the faulty object on assertion failure to ease debugging.
Objects/typeobject.c