commit | 4ead7c7be8089de7cab5db7d2a75e6bec5b55f10 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Sun Nov 20 19:48:36 2011 +0100 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Sun Nov 20 19:48:36 2011 +0100 |
tree | 7917a647fd0e2bf4e29c6ce5f0624de1f52b0c55 | |
parent | 2b979bfa3c27636fe298b7c5d8f17354bd2b566c [diff] |
PyObject_Str() ensures that the result string is ready and check the string consistency. _PyUnicode_CheckConsistency() doesn't check the hash anymore. It should be possible to call this function even if hash(str) was already called.