STINNER Victor <victor.stin...@haypocalc.com> added the comment: cjk_encreset.patch: Fix multibytecodec.MultibyteIncrementalEncoder.reset(), call encreset() instead of decreset(). Improve also incremental encoder tests: reset the encoder using .encode('', final=True) and check the output.
I also prefer to reuse the existing API instead of changing reset() API just for a corner case. ---------- Added file: http://bugs.python.org/file22119/cjk_encreset.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12171> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com