[issue25267] Optimize UTF-8 encoder with error handlers

STINNER Victor report at bugs.python.org
Thu Oct 1 08:01:26 EDT 2015


STINNER Victor added the comment:

Oh, there is a bug in utf8_encoder() (not in my patch!), newpos was not used after calling the error handler. It's now fixed in the new patch.

----------
Added file: http://bugs.python.org/file40646/utf8_encoder_errors-2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25267>
_______________________________________


More information about the Python-bugs-list mailing list