diff options
author | Victor Stinner <vstinner@wyplay.com> | 2011-10-03 12:21:33 +0200 |
---|---|---|
committer | Victor Stinner <vstinner@wyplay.com> | 2011-10-03 12:21:33 +0200 |
commit | 34411e17b0f77a2ae7b34fdb6b52ddcf5ea9ae3c (patch) | |
tree | 1abeb8d3763fda59e5b24e25674d2e53ef152897 | |
parent | a849a4b6b4c29f4cad0ee71a9fc5ebc16f6bb504 (diff) | |
download | cpython-git-34411e17b0f77a2ae7b34fdb6b52ddcf5ea9ae3c.tar.gz |
resize_inplace() has been fixed: reenable this optimization
-rw-r--r-- | Objects/unicodeobject.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 6e4ef3d413..2dea8a5a17 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -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; } |