https://github.com/python/cpython
Revision 50fe3f8913c503e63f4cfb8ddcf8641ef7ad0722 authored by Victor Stinner on 26 October 2018, 16:47:15 UTC, committed by GitHub on 26 October 2018, 16:47:15 UTC
Use _PyObject_ASSERT() in:

* _PyDict_CheckConsistency()
* _PyType_CheckConsistency()
* _PyUnicode_CheckConsistency()

_PyObject_ASSERT() dumps the faulty object if the assertion fails
to help debugging.
1 parent 0862505
History
Tip revision: 50fe3f8913c503e63f4cfb8ddcf8641ef7ad0722 authored by Victor Stinner on 26 October 2018, 16:47:15 UTC
bpo-9263: _PyXXX_CheckConsistency() use _PyObject_ASSERT() (GH-10108)
Tip revision: 50fe3f8
File Mode Size
c-api
data
distributing
distutils
extending
faq
howto
includes
install
installing
library
reference
tools
tutorial
using
whatsnew
Makefile -rw-r--r-- 7.3 KB
README.rst -rw-r--r-- 4.3 KB
about.rst -rw-r--r-- 1.5 KB
bugs.rst -rw-r--r-- 4.2 KB
conf.py -rw-r--r-- 6.4 KB
contents.rst -rw-r--r-- 538 bytes
copyright.rst -rw-r--r-- 451 bytes
docutils.conf -rw-r--r-- 56 bytes
glossary.rst -rw-r--r-- 51.4 KB
license.rst -rw-r--r-- 43.4 KB
make.bat -rw-r--r-- 5.2 KB

README.rst

back to top