[issue8898] The email package should defer to the codecs module for all aliases
Marc-Andre Lemburg
report at bugs.python.org
Fri Jun 4 23:14:19 CEST 2010
Marc-Andre Lemburg <mal at egenix.com> added the comment:
Shashwat Anand wrote:
>
> Shashwat Anand <anand.shashwat at gmail.com> added the comment:
>
>> We need to add aliases for those codecs. The current aliases
>> list only supports the format "latinN" for N in 1-10.
>
> latinN means latin1 to latin10 ?
Yes. We should add aliases for the format "latin_N" as well.
> But latin_1 is a recognized alias.
>
>>>> codecs.lookup('latin_1')
> <codecs.CodecInfo object for encoding iso8859-1 at 0x10160aae0>
Yes, since that's the native name of the dedicated Python codec
for ISO-8859-1.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8898>
_______________________________________
More information about the Python-bugs-list
mailing list