Marc-Andre Lemburg <m...@egenix.com> added the comment: STINNER Victor wrote: > > New submission from STINNER Victor <victor.stin...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue12160> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com