This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients amaury.forgeotdarc, arigo, gz, hyeshik.chang, lemburg, vstinner
Date 2011-05-25.21:52:43
SpamBayes Score 1.4891466e-06
Marked as misclassified No
Message-id <1306360354.24449.1.camel@marge>
In-reply-to <4DDCBC6E.5000703@egenix.com>
Content
Le mercredi 25 mai 2011 à 08:23 +0000, Marc-Andre Lemburg a écrit :
> > 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".

And so, reset() should discard the output? I can easily adapt my patch
to discard the output (but still call encreset() instead of decreset()).
History
Date User Action Args
2011-05-25 21:52:44vstinnersetrecipients: + vstinner, lemburg, arigo, amaury.forgeotdarc, hyeshik.chang, gz
2011-05-25 21:52:43vstinnerlinkissue12171 messages
2011-05-25 21:52:43vstinnercreate