[issue12160] codecs doc: what is StreamCodec?
Marc-Andre Lemburg
report at bugs.python.org
Mon May 23 18:23:54 CEST 2011
Marc-Andre Lemburg <mal at egenix.com> added the comment:
STINNER Victor wrote:
>
> New submission from STINNER Victor <victor.stinner at haypocalc.com>:
>
> Codec.encode() and Codec.decode() refer to StreamCode, but I cannot find this class in the doc nor in the code.
>
> I suppose that it should be replaced by IncrementalEncoder and IncrementalDecoder. If I'm correct, see attached patch.
Thanks for spotting this.
It should read StreamReader/StreamWriter, since these were designed
to keep state.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12160>
_______________________________________
More information about the Python-bugs-list
mailing list