Commit 34411e17 authored by Victor Stinner's avatar Victor Stinner

resize_inplace() has been fixed: reenable this optimization

parent a849a4b6
...@@ -1212,9 +1212,6 @@ unicode_resizable(PyObject *unicode) ...@@ -1212,9 +1212,6 @@ unicode_resizable(PyObject *unicode)
if (ch < 256 && unicode_latin1[ch] == unicode) if (ch < 256 && unicode_latin1[ch] == unicode)
return 0; return 0;
} }
/* FIXME: reenable resize_inplace */
if (!PyUnicode_IS_COMPACT(unicode))
return 0;
return 1; return 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment