Antoine Pitrou added the comment: That said, I'll try out the patch with _PyUnicode_FromUCS1 instead of _PyUnicode_FromASCII, to see if it affects performance. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue19219> _______________________________________