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

Marc-Andre Lemburg report at bugs.python.org
Sun May 22 13:58:44 CEST 2011


Marc-Andre Lemburg <mal at egenix.com> added the comment:

Michele Orrù wrote:
> 
> Michele Orrù <maker.py at gmail.com> added the comment:
> 
> Sorry, I was told that email the bugtracker could not work properly.
> 
> 
>>> - mcbs has something broken in its imports;
> 
>> mbcs is only available on Windows.
>
> So, what do you prefer? Add a check for sys.platform, or just skip it?

The test suite provides ways to implement known failures on
specific platforms, so I'd suggest to use those mechanisms.
I've never used those, so can't comment on how much work it is
to use them.

If that's too difficult, just use sys.platform.

>>> - 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.
> 
> I don't have such autority, and probably such a choice will require a discussion on python-dev. So I'm +1 for just skipping it for now (with a XXX comment on the right maybe).

Given the old discussion on the other ticket, it's fine to
remove the alias entry:

    # tactis codec
    'tis260'             : 'tactis',

----------
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 <report at bugs.python.org>
<http://bugs.python.org/issue8898>
_______________________________________


More information about the Python-bugs-list mailing list