mirror of
https://github.com/python/cpython.git
synced 2025-07-15 23:35:23 +00:00
resize_inplace() has been fixed: reenable this optimization
This commit is contained in:
parent
a849a4b6b4
commit
34411e17b0
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue