• Victor Stinner's avatar
    Fix resize_compact() · 5bc03a6d
    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().
    5bc03a6d
unicodeobject.c 446 KB