[issue12100] Incremental encoders of CJK codecs reset the codec at each call to encode()

Marc-Andre Lemburg report at bugs.python.org
Tue May 24 12:17:16 CEST 2011


Marc-Andre Lemburg <mal at egenix.com> added the comment:

STINNER Victor wrote:
> 
> STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> 
>> I think it's better to use a StringIO instance for the tests.
> 
> For which test excatly? An encoder produces bytes, I don't the relation with StringIO.

Sorry, BytesIO in Python3-speak. In Python2 you'd use StringIO.

----------
title: Incremental encoders of CJK codecs reset the codec at each call to encode() -> Incremental encoders of CJK codecs reset the codec at	each call to encode()

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


More information about the Python-bugs-list mailing list