resize_inplace() has been fixed: reenable this optimization

This commit is contained in:
Victor Stinner 2011-10-03 12:21:33 +02:00
parent a849a4b6b4
commit 34411e17b0
1 changed files with 0 additions and 3 deletions

View File

@ -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;
} }