A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/1999-November/001359.html below:

[Python-Dev] Codecs and StreamCodecs

[Python-Dev] Codecs and StreamCodecs [Python-Dev] Codecs and StreamCodecsFredrik Lundh fredrik@pythonware.com
Wed, 17 Nov 1999 12:51:33 +0100
Greg Stein <gstein@lyra.org> wrote:
> > so where do you put the state?
>
> encode() is not supposed to retain state. It is supposed to do a complete
> translation. It is not a stream thingy, which may have received partial
> characters.
>
> > how do you handle incremental
> > decoding/encoding?
> 
> Streams.

hmm.  why have two different mechanisms when
you can do the same thing with one?

</F>




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4