This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients l0nwlf, lemburg, r.david.murray
Date 2010-06-04.18:53:49
SpamBayes Score 0.0060433424
Marked as misclassified No
Message-id <1275677631.44.0.514670475259.issue8898@psf.upfronthosting.co.za>
In-reply-to
Content
Currently the email module maintains a set of "charset" aliases that it maps to codec names before looking up the codec in the codecs module.  Ideally it should instead be able to just look up any 'charset' name, and if it is a valid alias for a codec, the codec module would return the codec with the canonical name.  It is possible (I haven't checked yet) that the email module needs a different canonical  'charset' name for certain codecs, but if so it can do that mapping after getting the canonical codec name from codecs.

To implement this we need to make two simple changes:

1) add any aliases the email module recognizes but the codecs module doesn't to the codecs module.

2) rewrite email.charset so that it does not have an ALIASES table (but may have a smaller 'canonical charset map' table instead).
History
Date User Action Args
2010-06-04 18:55:09r.david.murraysetrecipients: + r.david.murray, lemburg, l0nwlf
2010-06-04 18:53:51r.david.murraysetmessageid: <1275677631.44.0.514670475259.issue8898@psf.upfronthosting.co.za>
2010-06-04 18:53:49r.david.murraylinkissue8898 messages
2010-06-04 18:53:49r.david.murraycreate