[issue8898] The email package should defer to the codecs module for all aliases

R. David Murray report at bugs.python.org
Thu May 26 19:01:41 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

What is not-a-charset?

I apparently misunderstood what normalize_encodings does.  It isn't doing a lookup in the codecs registry and returning the canonical name for the codec.  Does that mean we actually have to fetch the codec in order to get the canonical name?  I suspect so, and that is probably OK, since in most cases the codec is eventually going to get called while processing the email that triggered the ALIASES lookup.

I also notice that there is a table of aliases in the codec module documentation, so that will need to be updated as well.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8898>
_______________________________________


More information about the Python-bugs-list mailing list