> I restored this hack in Python 3.3 using PyUnicode_Append() in ceval.c and by > optimizing PyUnicode_Append() (try to append in-place). str+=str is closer > again to ''.join:
Why are you checking, in unicode_resizable, whether the string is from unicode_latin1? If it is, then it should have a refcount of at least 2, so the very first test in the function should already exclude it. Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com