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/001362.html below:

[Python-Dev] Some thoughts on the codecs...

[Python-Dev] Some thoughts on the codecs...Guido van Rossum guido@CNRI.Reston.VA.US
Wed, 17 Nov 1999 08:34:23 -0500
> This is the simplest if each codec really is likely to
> be implemented in a separate module.  But just look at
> the data!  All the iso-8859 encodings need identical
> functionality, and just have a different mapping table
> with 256 elements.  It would be trivial to implement
> these in one module.  And the wide variety of Japanese
> encodings (mostly corporate or historical variants of
> the same character set) are again best treated from
> one code base with a bunch of mapping tables and
> routines to generate the variants - basically one can
> store the deltas.
> 
> So the choice is between possibly having a lot of
> almost-dummy modules, or having Python modules which
> generate and register a logical family of encodings.  
> 
> I may have some time next week and will try to code up
> a few so we can pound on something.

I see no problem with having a lot of near-dummy modules if it
simplifies the architecture.  You can still do code sharing.  Files
are cheap; APIs are expensive.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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