STINNER Victor added the comment: I created issue #25301: "Optimize UTF-8 decoder with error handlers". ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue24870> _______________________________________