[Python-checkins] cpython: resize_inplace() has been fixed: reenable this optimization
victor.stinner
python-checkins at python.org
Mon Oct 3 12:21:42 CEST 2011
http://hg.python.org/cpython/rev/6bb850f6a438
changeset: 72611:6bb850f6a438
user: Victor Stinner <vstinner at wyplay.com>
date: Mon Oct 03 12:21:33 2011 +0200
summary:
resize_inplace() has been fixed: reenable this optimization
files:
Objects/unicodeobject.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -1212,9 +1212,6 @@
if (ch < 256 && unicode_latin1[ch] == unicode)
return 0;
}
- /* FIXME: reenable resize_inplace */
- if (!PyUnicode_IS_COMPACT(unicode))
- return 0;
return 1;
}
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list