[issue24339] iso6937 encoding missing

Serhiy Storchaka report at bugs.python.org
Mon Nov 14 07:27:32 EST 2016


Serhiy Storchaka added the comment:

I think the encoder can just use codecs.charmap_encode(). The decoder seems could be simpler too.

Would be nice to generate the ISO 6937 encoding file from external data (e.g. from glibc localedata) like they are generated for other encodings. Take Tools/unicode/ files as a pattern.

Tests are required.

A number of lists of encodings should be updated: Doc/library/codecs.rst, Lib/encodings/aliases.py, Lib/locale.py, Lib/test/test_unicode.py, Lib/test/test_codecs.py, Lib/test/test_xml_etree.py.

----------
stage:  -> needs patch
versions: +Python 3.7 -Python 3.6

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


More information about the Python-bugs-list mailing list