John Helour added the comment: > Please also check whether it's not possible to reuse the charmap codec > functions we have I've found nothing useful, maybe you (as the author) can find something really useful which can improve code readability or increase the performance.
Please look at the newest codec version, particularly on line: tmp += bytearray(encoding_map[c], 'latin1', 'ignore') It is about extended ascii inheritance. Is it reliable and fast enough? ---------- Added file: http://bugs.python.org/file45697/iso6937.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24339> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com