Peter Otten added the comment: Not a bug. In your XFORMS dict you have
>>> ord("Æ") == 0xC6 True Whether the value of "Æ" or 0xC6 is used by str.maketrans() depends on the order of the dict entries which in turn is determined by the keys' hash. Remove one and you should see consistent results. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26126> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com