Marc-Andre Lemburg <m...@egenix.com> added the comment:

Michele Orrù wrote:
> 
> Michele Orrù <maker...@gmail.com> added the comment:
> 
> Well, actually encodings.aliases links to the encoding _module name_, as
> described in the doc:
> """ Encoding Aliases Support
>     This module is used by the encodings package search function to
>     map encodings names to module names.
> """
> So I've adjusted your snippet according to this, as you can see in the
> attachment.
> 
> I've also slightly changed the imports as pep8 says:
> """
> Yes: import os
> import sys
> 
> No: import sys, os
> """
> 
> Anyway, running the test failed for two encodings, there are two bugs there,
> indeed.
> - mcbs has something broken in its imports;

mbcs is only available on Windows.

> - tactis module is not present.

I'm not sure what happened here: either the alias entry is wrong
or the codec module was not committed.

In either case, no one has complained about this encoding not working,
so we can probably just remove it from the alias table. See
http://bugs.python.org/issue1251921 for a similar report and
discussion.

----------
title: The email package should defer to the codecs module for all aliases -> 
The email package should defer to the codecs module for   all aliases

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8898>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to