[issue12100] Incremental encoders of CJK codecs reset the codec at each call to encode()
STINNER Victor
report at bugs.python.org
Tue May 24 21:04:15 CEST 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
Le mardi 24 mai 2011 à 18:13 +0000, Martin a écrit :
> Martin <gzlist at googlemail.com> added the comment:
>
> Does Victor Stinner have a psychic link with Armin Rigo? :)
>
> https://bitbucket.org/pypy/pypy/src/7f593e7877d4/pypy/module/_multibytecodec/app_multibytecodec.py
>
> """
> # My theory is that they are not widely used on CPython either, because
> # I found two bugs just by looking at their .c source
Sorry, I only found one bug, and while testing HZ, not while reading the
source code.
> ... and mbiencoder_reset() calls decreset() instead of encreset()
This is a new bug that you should be fixed. Armin did not reported the
bug upstream (in this bug tracker)?
> The answer to Armin's theory is that they're bugs but not ones users are likely to notice?
Ok, I will apply my fix.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12100>
_______________________________________
More information about the Python-bugs-list
mailing list