• Victor Stinner's avatar
    Fix resize_compact() · e08a6b46
    Victor Stinner authored
    Issue #26217: resize_compact() must set wstr_length to 0 after freeing the wstr
    string. Otherwise, an assertion fails in _PyUnicode_CheckConsistency().
    e08a6b46
unicodeobject.c 446 KB