[Python-bugs-list] [Bug #123642] Add site-codecs package to enable drop-in codec support

noreply@sourceforge.net noreply@sourceforge.net
Mon, 27 Nov 2000 15:09:47 -0800


Bug #123642, was updated on 2000-Nov-27 15:09
Here is a current snapshot of the bug.

Project: Python
Category: Modules
Status: Open
Resolution: None
Bug Group: Feature Request
Priority: 5
Summary: Add site-codecs package to enable drop-in codec support

Details: (This report is just meant as reminder, so this feature request does
get forgotten.)

There were numerous requests for a better drop-in support for
codecs on the i18n-sig list without having to register the codecs
at startup.

Since adding non-core modules to the Lib/encodings directory is not a good
strategy, I proposed to add a new reserved package "sitecodecs"
which can then be used by codec package writer to place their
codecs.

The encodings/__init__.py will then also look in that new package
for codecs it cannot find in its own directory. That way, the new codecs
won't have to register themselves and are available as soon as the
codec modules can be found in the site-codecs package.

The "sitecodecs" package should probably live in site-packages...
perhaps the installation process should provide a default subdir for
this ?!


For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=123642&group_id=5470