]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add _PyUnicode_CheckConsistency() macro to help debugging
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 3 Oct 2011 01:20:16 +0000 (03:20 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 3 Oct 2011 01:20:16 +0000 (03:20 +0200)
commit910337b42ebd845f87fc2fadcbf6e3061b5d4c97
tree7a423b11b85113a71cfd363cd0791a64e3049c9b
parent4fae54cb0ee1f8b9959025fd3e75795e4c634a0f
Add _PyUnicode_CheckConsistency() macro to help debugging

 * Document Unicode string states
 * Use _PyUnicode_CheckConsistency() to ensure that objects are always
   consistent.
Include/unicodeobject.h
Objects/unicodeobject.c