Marc-Andre Lemburg <m...@egenix.com> added the comment: Amaury Forgeot d'Arc wrote: > > Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: > > Do we need an additional method? It seems that this reset() could also be > written encoder.encode('', final=True)
+1 I think that's a much more natural way to implement "finalize the encoding output without adding any data to it". ---------- title: Reset method of the incremental encoders of CJK codecs calls the decoder reset function -> Reset method of the incremental encoders of CJK codecs calls the decoder reset function _______________________________________ 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