Register Japanese MIME aliases

Bug #266590 reported by Loewis
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Medium
Barry Warsaw

Bug Description

With this patch, the common MIME names for Japanese
encodings become available when the Japanese codecs are
installed.

The precise location of this code in mailman does not
matter; it should be executed before any codec is accessed.

[http://sourceforge.net/tracker/index.php?func=detail&aid=538185&group_id=103&atid=300103]

Revision history for this message
Loewis (loewis) wrote :
Revision history for this message
Loewis (loewis) wrote :

The second version of this patch avoids importing existing
codecs merely to establish their presence.

Revision history for this message
Barry Warsaw (barry) wrote :

I'll add this to Defaults.py.in which should get imported
early enough in any process. Is this patch safe in Pythons
2.1, 2.2 and 2.3?

Revision history for this message
Loewis (loewis) wrote :

Yes, it should work with any version since 2.0; all it
requires is that encodings.aliases.aliases exists and is a
dictionary.

Revision history for this message
Barry Warsaw (barry) wrote :

Cool, thanks. Accepted and closing.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.