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
CODEOWNERS -rw-r--r-- 2.1 KB
CONTRIBUTING.rst -rw-r--r-- 2.4 KB
PULL_REQUEST_TEMPLATE.md -rw-r--r-- 700 bytes
appveyor.yml -rw-r--r-- 1.1 KB
codecov.yml -rw-r--r-- 482 bytes

back to top