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/001356.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:36:32 +0100
Greg Stein <gstein@lyra.org> wrote:
> Why a factory? I've got a simple encode() function. I don't need a
> factory. "flexibility" at the cost of complexity (IMO).

so where do you put the state?

how do you reset the state between
strings?

how do you handle incremental
decoding/encoding?

etc.

(I suggest taking another look at PIL's codec
design.  it solves all these problems with a
minimum of code, and it works -- people
have been hammering on PIL for years...)

</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