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.
Showing
Please register or sign in to comment