• Victor Stinner's avatar
    Add _PyDict_CheckConsistency() · 93a4ea69
    Victor Stinner authored
    Issue #28127: Add a function to check that a dictionary remains consistent
    after any change.
    
    By default, tables are not checked, only basic attributes. Define DEBUG_PYDICT
    (ex: gcc -D DEBUG_PYDICT) to also check dictionary "content".
    93a4ea69
dictobject.c 126 KB