mirror of https://github.com/python/cpython
resize_inplace() has been fixed: reenable this optimization
This commit is contained in:
parent
a849a4b6b4
commit
34411e17b0
|
@ -1212,9 +1212,6 @@ unicode_resizable(PyObject *unicode)
|
|||
if (ch < 256 && unicode_latin1[ch] == unicode)
|
||||
return 0;
|
||||
}
|
||||
/* FIXME: reenable resize_inplace */
|
||||
if (!PyUnicode_IS_COMPACT(unicode))
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue