commit | 611b0fa94ce935235599a4bf666aef88e46f0b3b | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Wed Sep 14 15:02:01 2016 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Wed Sep 14 15:02:01 2016 +0200 |
tree | fe11eeefc011436f6965e2a1b0283540d57f4275 | |
parent | 4659ccff704431e23bd3635c9d6beb33551d62b8 [diff] |
Add _PyDict_CheckConsistency() 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".